diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-06-22 08:02:48 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-06-22 08:02:48 +0000 |
commit | c0c2bd804783526124582197c1fef081b62f4ee3 (patch) | |
tree | e3cd9467628193dd0067c8589642694fde712d34 | |
parent | 96cc7c0867468fa65e5f243269838588572a95cd (diff) | |
download | aports-c0c2bd804783526124582197c1fef081b62f4ee3.tar.bz2 aports-c0c2bd804783526124582197c1fef081b62f4ee3.tar.xz |
testing/miniupnpc: upgrade to 2.0, took maintainersip
-rw-r--r-- | testing/miniupnpc/APKBUILD | 29 |
1 files changed, 9 insertions, 20 deletions
diff --git a/testing/miniupnpc/APKBUILD b/testing/miniupnpc/APKBUILD index 5e5517d280..ee44ab993c 100644 --- a/testing/miniupnpc/APKBUILD +++ b/testing/miniupnpc/APKBUILD @@ -1,40 +1,29 @@ -# Contributor: -# Maintainer: +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=miniupnpc -pkgver=1.8 +pkgver=2.0 pkgrel=0 pkgdesc="Library and tool to control NAT in UPnP-enabled routers" url="http://miniupnp.free.fr/" arch="all" license="BSD" -depends="" -depends_dev="" makedepends="$depends_dev bsd-compat-headers" install="" subpackages="$pkgname-dev $pkgname-doc" source="http://miniupnp.free.fr/files/miniupnpc-$pkgver.tar.gz" -_builddir="$srcdir"/miniupnpc-$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 -} +builddir="$srcdir"/miniupnpc-$pkgver build() { - cd "$_builddir" + cd "$builddir" make || return 1 } package() { - cd "$_builddir" + cd "$builddir" make PREFIX="$pkgdir" install || return 1 } -md5sums="065bf20a20ebe605c675b7a5aaef340a miniupnpc-1.8.tar.gz" -sha256sums="bc5f73c7b0056252c1888a80e6075787a1e1e9112b808f863a245483ff79859c miniupnpc-1.8.tar.gz" -sha512sums="8eedac9ad473fc952ca8896fe534d6da6b1b234e8b6f35f721394d4c71aca84ed287ca6c4f0455b50d97a45e4cd34e27d99a6813386e0864781364aa607e13d4 miniupnpc-1.8.tar.gz" +md5sums="2acc4ec912c15447a40cf14ae50df7b9 miniupnpc-2.0.tar.gz" +sha256sums="d434ceb8986efbe199c5ca53f90ed53eab290b1e6d0530b717eb6fa49d61f93b miniupnpc-2.0.tar.gz" +sha512sums="e8bca24265086518fa3bdc25fc31371ddf878adaa2bd6a80b30f33a3e5adb831220e906302832f2250e489a73ecd7e6c9a6bfcb1c70258a90e4c4712196275de miniupnpc-2.0.tar.gz" |