diff options
Diffstat (limited to 'testing/swish-e/APKBUILD')
-rw-r--r-- | testing/swish-e/APKBUILD | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/testing/swish-e/APKBUILD b/testing/swish-e/APKBUILD index 76ff7bb76..41c238687 100644 --- a/testing/swish-e/APKBUILD +++ b/testing/swish-e/APKBUILD @@ -11,15 +11,21 @@ makedepends="" install= subpackages="$pkgname-dev $pkgname-doc" source="http://www.swish-e.org/distribution/$pkgname-$pkgver.tar.gz" +_builddir="$srcdir"/$pkgname-$pkgver build() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install } |