diff options
Diffstat (limited to 'main/enchant/APKBUILD')
-rw-r--r-- | main/enchant/APKBUILD | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/main/enchant/APKBUILD b/main/enchant/APKBUILD index 9788bead6c..8caf159a6b 100644 --- a/main/enchant/APKBUILD +++ b/main/enchant/APKBUILD @@ -12,8 +12,15 @@ depends_dev="glib-dev" makedepends="aspell-dev dbus-glib-dev hunspell-dev libiconv-dev gettext-dev" source="http://www.abisource.com/downloads/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz" +_builddir="$srcdir/$pkgname-$pkgver" + +prepare() { + cd "$_builddir" + update_config_sub || return 1 +} + build() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -24,7 +31,7 @@ build() { } package() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 #rm "$pkgdir"/usr/lib/*.la find "$pkgdir" -iname *.la -delete |