diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-04-23 19:44:46 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-04-23 19:44:46 +0000 |
commit | 27d1e194717b1696b3169ad43df027876247b91a (patch) | |
tree | 8416dc507bc2aed5f47588d345abe1ef22a6c60f /community/xfce4-vala | |
parent | 0090cfe5db52bd764631d9b1d55e6e74c7cf2ae8 (diff) | |
download | aports-27d1e194717b1696b3169ad43df027876247b91a.tar.bz2 aports-27d1e194717b1696b3169ad43df027876247b91a.tar.xz |
main/{xfce*} => community/
Move everything xfce to community
Diffstat (limited to 'community/xfce4-vala')
-rw-r--r-- | community/xfce4-vala/APKBUILD | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/community/xfce4-vala/APKBUILD b/community/xfce4-vala/APKBUILD new file mode 100644 index 0000000000..f7dc90dcc7 --- /dev/null +++ b/community/xfce4-vala/APKBUILD @@ -0,0 +1,51 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=xfce4-vala +pkgver=4.10.3 +pkgrel=7 +pkgdesc="Vala bindings for Xfce4" +url="http://wiki.xfce.org/vala-bindings" +arch="all" +license="LGPL" +depends="exo-dev libxfce4util-dev libxfce4ui-dev garcon-dev + xfce4-panel-dev xfconf-dev vala" +makedepends="" +install= +subpackages= +source="http://archive.xfce.org/src/bindings/xfce4-vala/${pkgver%.*}/xfce4-vala-$pkgver.tar.bz2" + +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + local _p + cd "$_builddir" + for _p in $source; do + case $_p in + *.patch) msg $_p; patch -p1 -i "$srcdir"/$_p || return 1;; + esac + done +} + +build() { + cd "$_builddir" + local _apiver=$(valac --version | awk '{print $2}' \ + | awk -F. '{print $1 "." $2}') + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --with-vala-api=$_apiver \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install +} + +md5sums="0bbb1d6e473e0fe9b335b7b1b49d8a71 xfce4-vala-4.10.3.tar.bz2" +sha256sums="07a8f2b7c09fcdd3d86e0c52adea3c58ca011d0142a93997a01b4af77260ae7b xfce4-vala-4.10.3.tar.bz2" +sha512sums="ef5d6c67d53edc428ed10e59c21a1264a0d6d06efbea531a15f2eb1309e632e3cd275657aeb01c5723f437b9c319b922055598f97b0ee7db45853beef4f4d987 xfce4-vala-4.10.3.tar.bz2" |