diff options
Diffstat (limited to 'main/swish-e/APKBUILD')
-rw-r--r-- | main/swish-e/APKBUILD | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/main/swish-e/APKBUILD b/main/swish-e/APKBUILD index 9b9af9a264..1fa029734f 100644 --- a/main/swish-e/APKBUILD +++ b/main/swish-e/APKBUILD @@ -13,8 +13,15 @@ install= subpackages="$pkgname-dev $pkgname-doc" source="http://www.swish-e.org/distribution/$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 \ @@ -28,7 +35,7 @@ build() { } package() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" make DESTDIR="$pkgdir" install # Move SwishSpiderConfig.pl because spider.pl won't run without default settings |