diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-09-17 20:14:48 -0500 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-10-09 16:03:52 +0000 |
commit | 83989a20fa229dfc86a0c47bb487912997bfb4f8 (patch) | |
tree | 1352f3b65181c4d6730ff114abe3de18afb46b61 /main/exo | |
parent | 9efa6e1a26a19d085993a2007844724ef7e3e12f (diff) | |
download | aports-83989a20fa229dfc86a0c47bb487912997bfb4f8.tar.bz2 aports-83989a20fa229dfc86a0c47bb487912997bfb4f8.tar.xz |
main/exo: modernise, fix deps, add test suite
Diffstat (limited to 'main/exo')
-rw-r--r-- | main/exo/APKBUILD | 32 |
1 files changed, 13 insertions, 19 deletions
diff --git a/main/exo/APKBUILD b/main/exo/APKBUILD index 2bde0dbeae..65f45caf37 100644 --- a/main/exo/APKBUILD +++ b/main/exo/APKBUILD @@ -2,32 +2,22 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=exo pkgver=0.10.7 -pkgrel=2 +pkgrel=3 pkgdesc="Extensions to Xfce by os-cillation" url="http://www.os-cillation.com/article.php?sid=40" arch="all" license="GPL2 LGPL-2" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" depends="hicolor-icon-theme" -depends_dev="gtk+2.0-dev libxfce4util-dev" -makedepends="$depends_dev libxfce4ui-dev perl perl-uri libnotify-dev gtk-doc" +makedepends="gtk+2.0-dev libxfce4util-dev libxfce4ui-dev perl perl-uri + libnotify-dev gtk-doc" install= source="http://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2 mailreader-claws-mail.patch " -_builddir="$srcdir"/exo-$pkgver -prepare() { - 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" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -36,14 +26,18 @@ build() { --libexecdir=/usr/lib/xfce4 \ --localstatedir=/var \ --disable-static \ - --enable-gtk-doc \ - || return 1 - make || return 1 + --enable-gtk-doc + make +} + +check() { + cd "$builddir" + make check } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } md5sums="92ca200b8787cdd7494164cbc0ed8200 exo-0.10.7.tar.bz2 3d9f7c0c3a411797fe8989ad0c75f69e mailreader-claws-mail.patch" |