desktop/miniupnpc/PKGBUILD
2016-02-29 02:05:42 +00:00

27 lines
650 B
Bash

pkgname=miniupnpc
pkgver=1.9.20160209
pkgrel=1
pkgdesc="A small UPnP client library/tool to access Internet Gateway Devices"
arch=('x86_64')
url='http://miniupnp.free.fr'
license=('BSD')
depends=('sh')
categories=('network')
source=("http://miniupnp.free.fr/files/$pkgname-$pkgver.tar.gz")
md5sums=('9e9dd404f0ee356be72316bd9e158428')
build() {
cd $srcdir/$pkgname-$pkgver
make
}
package() {
cd $srcdir/$pkgname-$pkgver
make INSTALLPREFIX=$pkgdir/usr install
# man page + License
install -Dm644 man3/miniupnpc.3 "${pkgdir}"/usr/share/man/man3/miniupnpc.3
install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}