mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
27 lines
650 B
Bash
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
|
|
}
|
|
|