aboutsummaryrefslogtreecommitdiffstats
path: root/main/orage/APKBUILD
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/orage/APKBUILD
parentd48c529a8295229678d40751772417ef08a681f4 (diff)
downloadaports-3cbacc3c5e414a58ae215445519eb46db4921e08.tar.bz2
aports-3cbacc3c5e414a58ae215445519eb46db4921e08.tar.xz
main/[various]: update config.sub
Diffstat (limited to 'main/orage/APKBUILD')
-rw-r--r--main/orage/APKBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/main/orage/APKBUILD b/main/orage/APKBUILD
index 2ee5d67d9b..66b078aaf4 100644
--- a/main/orage/APKBUILD
+++ b/main/orage/APKBUILD
@@ -13,12 +13,15 @@ makedepends="pkgconfig xfce4-panel-dev libnotify-dev intltool gettext-dev
install=
source="http://archive.xfce.org/src/apps/orage/${pkgver%.*}/orage-$pkgver.tar.bz2"
+_builddir="$srcdir/$pkgname-$pkgver"
+
prepare() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
+ update_config_sub || return 1
}
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -32,7 +35,7 @@ build() {
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}