aboutsummaryrefslogtreecommitdiffstats
path: root/main/atk/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/atk/APKBUILD')
-rw-r--r--main/atk/APKBUILD11
1 files changed, 9 insertions, 2 deletions
diff --git a/main/atk/APKBUILD b/main/atk/APKBUILD
index 909d979510..dcb44184d8 100644
--- a/main/atk/APKBUILD
+++ b/main/atk/APKBUILD
@@ -8,12 +8,19 @@ arch="all"
license="LGPL"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
depends=
+depends_dev="glib-dev"
makedepends="glib-dev gobject-introspection-dev"
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
-depends_dev="glib-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 \