diff options
Diffstat (limited to 'main/xfce-utils/APKBUILD')
-rw-r--r-- | main/xfce-utils/APKBUILD | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/main/xfce-utils/APKBUILD b/main/xfce-utils/APKBUILD index b58a54f35e..e15154ecd2 100644 --- a/main/xfce-utils/APKBUILD +++ b/main/xfce-utils/APKBUILD @@ -12,8 +12,15 @@ makedepends="libxfce4ui-dev" install= source="http://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2" -build () { - cd "$srcdir"/$pkgname-$pkgver +_builddir="$srcdir/$pkgname-$pkgver" + +prepare() { + cd "$_builddir" + update_config_sub || return 1 +} + +build() { + cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -27,7 +34,7 @@ build () { } package() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 } md5sums="03b5fba5f63f4f1a31cc7d3728f3c87e xfce-utils-4.8.3.tar.bz2" |