diff options
Diffstat (limited to 'main/gtkspell/APKBUILD')
-rw-r--r-- | main/gtkspell/APKBUILD | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/main/gtkspell/APKBUILD b/main/gtkspell/APKBUILD index 9112599b6f..9ce15f884e 100644 --- a/main/gtkspell/APKBUILD +++ b/main/gtkspell/APKBUILD @@ -11,8 +11,16 @@ subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source="http://$pkgname.sourceforge.net/download/$pkgname-$pkgver.tar.gz" depends_dev="gtk+-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 \ @@ -22,7 +30,7 @@ build() { } package() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/*.la } |