diff options
Diffstat (limited to 'testing/vala-dbus-binding-tool/APKBUILD')
-rw-r--r-- | testing/vala-dbus-binding-tool/APKBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/testing/vala-dbus-binding-tool/APKBUILD b/testing/vala-dbus-binding-tool/APKBUILD new file mode 100644 index 0000000000..52b6ee67e2 --- /dev/null +++ b/testing/vala-dbus-binding-tool/APKBUILD @@ -0,0 +1,46 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=vala-dbus-binding-tool +pkgver=0.4.0 +pkgrel=0 +pkgdesc="Vala DBus binding tool" +url="http://git.freesmartphone.org/?p=vala-dbus-binding-tool.git;a=summary" +arch="all" +license="GPLv3" +depends="" +depends_dev="" +makedepends="$depends_dev libgee-dev vala" +install="" +subpackages="" +source="http://dev.alpinelinux.org/archive/vala-dbus-binding-tool/vala-dbus-binding-tool-$pkgver.tar.bz2" + +_builddir="$srcdir"/vala-dbus-binding-tool-$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 --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="676ba3f4c740ca3e0b0a7939698cab95 vala-dbus-binding-tool-0.4.0.tar.bz2" +sha256sums="a6555478f45b2303e2864c8a2065d07461103ca92a6eb2572aef305015db39e4 vala-dbus-binding-tool-0.4.0.tar.bz2" +sha512sums="3ad9dcde5f0eaa8c1eb116da8a867cb74304847d3bed5ab1fef137e18a572c9c0fe86f6ca7cc7da249365670f38c50ebe6f4e711caef8861554291de433afac9 vala-dbus-binding-tool-0.4.0.tar.bz2" |