aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxfcegui4/APKBUILD
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-09-29 16:03:35 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-09-29 16:03:35 +0000
commitf6723fe78a8b7ad141c619908bcd809abe43b78d (patch)
tree109de25c6ec5f7695e45255ad6d8d6f5e203ef86 /main/libxfcegui4/APKBUILD
parentcde4c288fb31f74d2401cef0558ab3c56ada33ca (diff)
downloadaports-f6723fe78a8b7ad141c619908bcd809abe43b78d.tar.bz2
aports-f6723fe78a8b7ad141c619908bcd809abe43b78d.tar.xz
main/[various]: update config.sub
Diffstat (limited to 'main/libxfcegui4/APKBUILD')
-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
}