aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxfce4ui
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-09-22 06:15:45 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-09-22 06:15:45 +0000
commitb4895dd98f3d75ac19154ee23953f5ddfb32fc1a (patch)
tree8daba38903acb5ad41f8d79ec8350173d0e9b7a5 /main/libxfce4ui
parent4f53e26791f1e8cb94cd0b1a16d9ae3350fba06e (diff)
downloadaports-b4895dd98f3d75ac19154ee23953f5ddfb32fc1a.tar.bz2
aports-b4895dd98f3d75ac19154ee23953f5ddfb32fc1a.tar.xz
main/libxfce4ui: enable glade3 modules for -dev package
Diffstat (limited to 'main/libxfce4ui')
-rw-r--r--main/libxfce4ui/APKBUILD17
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"