summaryrefslogtreecommitdiff
path: root/social/miniupnpc/PKGBUILD
blob: a28b9842f80972b292bd2b65d9c56a866a6a438c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Contributor: Florian Loitsch <archlinux@florian.loitsch.com>
pkgname=miniupnpc
pkgver=1.7.20120830
pkgrel=1
pkgdesc='A small UPnP client library/tool to access Internet Gateway Devices'
arch=('i686' 'x86_64' 'mips64el')
url="http://miniupnp.free.fr"
license=('BSD')
depends=('sh')
source=("http://miniupnp.free.fr/files/$pkgname-$pkgver.tar.gz")
md5sums=('c74b24b906e11860005fc425b4979fe6')

build() {
  cd $srcdir/$pkgname-$pkgver
  make
}

package(){
  cd $srcdir/$pkgname-$pkgver
  make INSTALLPREFIX=$pkgdir/usr install
  install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}