diff options
-rw-r--r-- | main/libxfce4ui/APKBUILD | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/main/libxfce4ui/APKBUILD b/main/libxfce4ui/APKBUILD index 6626d681f9..4ce21b8f6e 100644 --- a/main/libxfce4ui/APKBUILD +++ b/main/libxfce4ui/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libxfce4ui pkgver=4.8.0 -pkgrel=2 +pkgrel=3 pkgdesc="Widgets library for the Xfce desktop environment" url="http://www.xfce.org/" arch="all" @@ -9,7 +9,8 @@ license="GPL2" subpackages="$pkgname-dev $pkgname-doc" depends= replaces="libxfcegui4" -makedepends="gtk+-dev xfconf-dev libxfce4util-dev startup-notification-dev" +makedepends="gtk+-dev xfconf-dev libxfce4util-dev startup-notification-dev + glade3-dev" source="http://archive.xfce.org/src/xfce/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2" depends_dev="gtk+-dev libxfce4util-dev xfconf-dev startup-notification-dev" @@ -19,6 +20,7 @@ build() { --sysconfdir=/etc \ --libexecdir=/usr/lib \ --localstatedir=/var \ + --enable-gladeui \ --disable-static make || return 1 } @@ -26,7 +28,16 @@ build() { package() { cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir" install || return 1 - rm -f "$pkgdir"/usr/lib/*.la + rm "$pkgdir"/usr/lib/*.la \ + "$pkgdir"/usr/lib/glade3/modules/*.la \ + || return 1 +} + +dev() { + default_dev + mkdir -p "$subpkgdir"/usr/lib "$subpkgdir"/usr/share + mv "$pkgdir"/usr/lib/glade3 "$subpkgdir"/usr/lib/ || return 1 + mv "$pkgdir"/usr/share/glade3 "$subpkgdir"/usr/share/ || return 1 } md5sums="df9acb3328dff905bd0777b84532b69f libxfce4ui-4.8.0.tar.bz2" |