aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-09-17 17:15:08 -0500
committerNatanael Copa <ncopa@alpinelinux.org>2017-10-09 16:03:52 +0000
commite1e90ffb5be4ab101b369e24387e8e86c6fb237f (patch)
tree9b2deb0f388c19f928046723af0e95fc7ead9056
parente804ab7866785d161ffa0f371161c78ef0b68b00 (diff)
downloadaports-e1e90ffb5be4ab101b369e24387e8e86c6fb237f.tar.gz
aports-e1e90ffb5be4ab101b369e24387e8e86c6fb237f.tar.bz2
aports-e1e90ffb5be4ab101b369e24387e8e86c6fb237f.tar.xz
main/xfconf: modernise, fix deps, add + disable tests
-rw-r--r--main/xfconf/APKBUILD27
1 files changed, 14 insertions, 13 deletions
diff --git a/main/xfconf/APKBUILD b/main/xfconf/APKBUILD
index 9902187fac..e111b2ea63 100644
--- a/main/xfconf/APKBUILD
+++ b/main/xfconf/APKBUILD
@@ -1,25 +1,22 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfconf
pkgver=4.12.1
-pkgrel=1
+pkgrel=2
pkgdesc="Hierarchical configuration system for Xfce"
url="http://www.xfce.org/"
arch="all"
license="GPL2"
+options="!check" # Requires running dbus daemon.
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
depends=
-depends_dev="glib-dev dbus-dev dbus-glib-dev"
-makedepends="$depends_dev libxfce4util-dev intltool gtk-doc"
+makedepends="libxfce4util-dev intltool gtk-doc glib-dev dbus-dev dbus-glib-dev"
source="http://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2"
-_builddir="$srcdir"/$pkgname-$pkgver
+builddir="$srcdir"/$pkgname-$pkgver
-prepare() {
- cd "$_builddir"
-}
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -28,14 +25,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 "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
md5sums="20dc8d2bfd80ba136bf4964021b32757 xfconf-4.12.1.tar.bz2"
sha256sums="35f48564e5694faa54fdc180cd3268e16fc2352946a89a3c2fc12cbe400ada36 xfconf-4.12.1.tar.bz2"