aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-09-17 17:08:43 -0500
committerNatanael Copa <ncopa@alpinelinux.org>2017-10-09 16:03:52 +0000
commite804ab7866785d161ffa0f371161c78ef0b68b00 (patch)
treeaa3dd4b22ed2f9be7f299090e880fcf5c8e511a1
parente579a3a1114a60200e284737377d840816ee3ee3 (diff)
downloadaports-e804ab7866785d161ffa0f371161c78ef0b68b00.tar.bz2
aports-e804ab7866785d161ffa0f371161c78ef0b68b00.tar.xz
main/libxfce4util: modernise, fix deps, add tests
-rw-r--r--main/libxfce4util/APKBUILD21
1 files changed, 12 insertions, 9 deletions
diff --git a/main/libxfce4util/APKBUILD b/main/libxfce4util/APKBUILD
index 4d2bbabf0b..96c591fb21 100644
--- a/main/libxfce4util/APKBUILD
+++ b/main/libxfce4util/APKBUILD
@@ -1,19 +1,18 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxfce4util
pkgver=4.12.1
-pkgrel=2
+pkgrel=3
pkgdesc="Basic utility non-GUI functions for Xfce"
url="http://www.xfce.org/"
arch="all"
license="GPL2"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
depends=
-depends_dev="glib-dev"
-makedepends="$depends_dev intltool gtk-doc"
+makedepends="glib-dev gtk-doc intltool"
source="http://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2"
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -22,14 +21,18 @@ build() {
--libexecdir=/usr/lib \
--localstatedir=/var \
--disable-static \
- --enable-gtk-doc \
- || return 1
- make || 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
}
md5sums="4eb012b6c1292ceedb3a83ebfc1ff08d libxfce4util-4.12.1.tar.bz2"
sha256sums="876bdefa2e13cbf68b626b2158892fb93e824e1ef59cf951123a96cefbc8881d libxfce4util-4.12.1.tar.bz2"