community/monkeysphere: seperate build() and package()

Without this change the sources files are compiled in the package()
function as a perquisite of the install target.
This commit is contained in:
Sören Tempel 2018-10-15 10:37:23 +02:00
parent 1d947f4d5b
commit 738f8d0758

View File

@ -13,6 +13,11 @@ subpackages="$pkgname-doc"
source="http://archive.monkeysphere.info/debian/pool/$pkgname/m/$pkgname/${pkgname}_$pkgver.orig.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install