diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-09-17 19:35:22 -0500 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-10-09 16:03:52 +0000 |
commit | b931a86da19a56cb40e96c8f725ebec2b80d8930 (patch) | |
tree | 379948617af1d9bc5d687ce84bfa4f175f67d5bc /main/garcon | |
parent | 83989a20fa229dfc86a0c47bb487912997bfb4f8 (diff) | |
download | aports-b931a86da19a56cb40e96c8f725ebec2b80d8930.tar.bz2 aports-b931a86da19a56cb40e96c8f725ebec2b80d8930.tar.xz |
main/garcon: modernise, fix deps, add test
Diffstat (limited to 'main/garcon')
-rw-r--r-- | main/garcon/APKBUILD | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/main/garcon/APKBUILD b/main/garcon/APKBUILD index d57a654b82..bb7883c22c 100644 --- a/main/garcon/APKBUILD +++ b/main/garcon/APKBUILD @@ -1,21 +1,20 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=garcon pkgver=0.6.1 -pkgrel=0 +pkgrel=1 pkgdesc="a freedesktop.org compliant menu implementation based on GLib and GIO" url="http://www.xfce.org/" arch="all" license="GPL2" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" depends= -depends_dev="glib-dev gtk+2.0-dev libxfce4ui-dev" -makedepends="$depends_dev intltool libxfce4util-dev gtk-doc" +makedepends="glib-dev gtk+2.0-dev libxfce4ui-dev intltool libxfce4util-dev gtk-doc" install= source="http://archive.xfce.org/src/libs/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2" replaces="xfdesktop" build() { - cd "$srcdir"/$pkgname-$pkgver + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -24,14 +23,18 @@ build() { --libexecdir=/usr/lib \ --localstatedir=/var \ --disable-static \ - --enable-gtk-doc \ - || return 1 + --enable-gtk-doc make } +check() { + cd "$builddir" + make check +} + package() { - cd "$srcdir"/$pkgname-$pkgver - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } sha512sums="36c5b1ba3c91e613853cd5e986176c8cbd2a509fafde1b302334deda872b7f7073fd06ba341220b030d8d5728346b7339368190b225203f33c023dd96f3ed1a3 garcon-0.6.1.tar.bz2" |