aboutsummaryrefslogtreecommitdiffstats
path: root/main/orage/APKBUILD
diff options
context:
space:
mode:
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
}