aboutsummaryrefslogtreecommitdiffstats
path: root/main/xfce-utils
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-09-30 06:50:11 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-09-30 06:50:11 +0000
commit3cbacc3c5e414a58ae215445519eb46db4921e08 (patch)
treefdda868b3483e251d6dd9c91f429ae094f093b45 /main/xfce-utils
parentd48c529a8295229678d40751772417ef08a681f4 (diff)
downloadaports-3cbacc3c5e414a58ae215445519eb46db4921e08.tar.bz2
aports-3cbacc3c5e414a58ae215445519eb46db4921e08.tar.xz
main/[various]: update config.sub
Diffstat (limited to 'main/xfce-utils')
-rw-r--r--main/xfce-utils/APKBUILD13
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"