main/monkeysphere: modernize abuild

This commit is contained in:
Jakub Jirutka 2018-03-31 16:37:12 +02:00
parent 0d03339676
commit 35d155aa28

View File

@ -9,31 +9,13 @@ arch="all"
license="GPL-3.0"
depends="gnupg libressl perl"
makedepends="libassuan-dev libgcrypt-dev"
depends_dev=""
install=""
subpackages="$pkgname-doc"
source="http://archive.monkeysphere.info/debian/pool/${pkgname}/m/${pkgname}/${pkgname}_${pkgver}.orig.tar.gz"
builddir="${srcdir}/${pkgname}-${pkgver}"
prepare() {
local i
cd "$builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
return 0
}
source="http://archive.monkeysphere.info/debian/pool/$pkgname/m/$pkgname/${pkgname}_$pkgver.orig.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
make DESTDIR="$pkgdir" install
}
md5sums="77a971850d6d35d6e1135add9c4fce5d monkeysphere_0.41.orig.tar.gz"
sha256sums="911a2f1622ddb81151b0f41cf569ccf2154d10a09b2f446dbe98fac7279fe74b monkeysphere_0.41.orig.tar.gz"
sha512sums="fcc3dd6c191635ed7ef27a8219d4c9d7043629dc8a02de947fcc4dfc8e612ec767f68d4e4c41252a0c0fc80e4184018e53991d85fcde50cb5def75b925341962 monkeysphere_0.41.orig.tar.gz"