aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxfcegui4
diff options
context:
space:
mode:
Diffstat (limited to 'main/libxfcegui4')
-rw-r--r--main/libxfcegui4/APKBUILD13
1 files changed, 10 insertions, 3 deletions
diff --git a/main/libxfcegui4/APKBUILD b/main/libxfcegui4/APKBUILD
index 166d19d318..5a10a1d595 100644
--- a/main/libxfcegui4/APKBUILD
+++ b/main/libxfcegui4/APKBUILD
@@ -8,13 +8,20 @@ arch="all"
license="GPL2"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
depends=
+depends_dev="gtk+-dev libxfce4util-dev xfconf-dev startup-notification-dev"
makedepends="gtk+-dev xfconf-dev libxfce4util-dev startup-notification-dev
libglade-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"
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -28,7 +35,7 @@ build() {
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" -name '*.la' -delete
}