summaryrefslogtreecommitdiff
path: root/user/vala/APKBUILD
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-08-18 05:31:06 -0500
committerKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-08-18 07:21:56 -0500
commit72ae5d2a657b1214e455ef9f480787a788ce7182 (patch)
tree498d0adbadbc734db478252eb2b6d255bdec473f /user/vala/APKBUILD
parent7ef2ed32d3d4442463f39d31380cff9432608231 (diff)
downloadpackages-72ae5d2a657b1214e455ef9f480787a788ce7182.tar.gz
packages-72ae5d2a657b1214e455ef9f480787a788ce7182.tar.bz2
packages-72ae5d2a657b1214e455ef9f480787a788ce7182.tar.xz
packages-72ae5d2a657b1214e455ef9f480787a788ce7182.zip
user/vala: new package
Diffstat (limited to 'user/vala/APKBUILD')
-rw-r--r--user/vala/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/user/vala/APKBUILD b/user/vala/APKBUILD
new file mode 100644
index 000000000..b05adcaad
--- /dev/null
+++ b/user/vala/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=vala
+pkgver=0.40.8
+pkgrel=0
+pkgdesc="Compiler for the Vala programming language"
+url="https://wiki.gnome.org/Projects/Vala"
+arch="all"
+license="LGPL-2.1+"
+makedepends="glib-dev flex bison graphviz-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://download.gnome.org/sources/vala/0.40/vala-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make tests
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="c8df97de8d5c65724d9a558d0cbd0b01ee7c1d77d0c96713040b510625b767f0d937e3fba05630a7d026a1b9e43f81ae080cb870a045abc112856f1ab22ce8df vala-0.40.8.tar.xz"