mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-06 17:22:07 +01:00
47 lines
1.3 KiB
Plaintext
47 lines
1.3 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=vala
|
|
pkgver=0.32.0
|
|
pkgrel=0
|
|
pkgdesc="Compiler for the GObject type system"
|
|
url="http://live.gnome.org/Vala"
|
|
arch="all"
|
|
license="LGPL2+"
|
|
subpackages="$pkgname-doc"
|
|
depends="glib-dev"
|
|
makedepends="libxslt-dev bash glib-dev flex bison"
|
|
source="http://download.gnome.org/sources/vala/${pkgver%.*}/vala-$pkgver.tar.xz
|
|
version.patch"
|
|
|
|
_builddir="$srcdir"/$pkgname-$pkgver
|
|
prepare() {
|
|
local i
|
|
cd "$_builddir"
|
|
for i in $source; do
|
|
case $i in
|
|
*.patch) msg "$i"; patch -p1 -i "$srcdir"/$i || return 1;;
|
|
esac
|
|
done
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
}
|
|
|
|
md5sums="d3ff298424bb80476f7d189e6b614c35 vala-0.32.0.tar.xz
|
|
99524c2de7df37c95f314709a041ac65 version.patch"
|
|
sha256sums="07a2aa4ede040789b4b5af817a42249d703bfe8affccb7732ca2b53d00c1fb6e vala-0.32.0.tar.xz
|
|
f9b8c4393e6a81f261bdd9a74cb41416736eb68365d03fc4e6889e305755f97d version.patch"
|
|
sha512sums="ee4e2f8d87f516d0929180ec25eda7311abdf2d5ba49fc484dfdc6cb00d4d4a7ae6d3383045b64d16a8489ad757a7f9d8b6eeb10277eb41725056739a313de5f vala-0.32.0.tar.xz
|
|
2c999fb516dd6ed74cb05307c0725bb20d6112cd1a2427a742a9856e1167fe39f9a71253f4dd9d0f53a88a9f29229063e53262b8257f60a71d0cfb168e3f7eb8 version.patch"
|