Skip to content

Commit

Permalink
* add libupnp
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Baldeck committed Mar 6, 2019
1 parent 9433a5d commit 83d0cb1
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions libupnp/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: kastor <kastor@fobos.org.ar>

pkgname=libupnp
pkgver=1.6.25
pkgrel=1
pkgdesc='Portable Open Source UPnP Development Kit'
url='http://pupnp.sourceforge.net/'
arch=(x86_64 powerpc64le)
license=('BSD')
depends=('glibc')
makedepends=('pkgconfig')
source=(https://downloads.sourceforge.net/sourceforge/pupnp/${pkgname}-${pkgver}.tar.bz2)
sha256sums=('c5a300b86775435c076d58a79cc0d5a977d76027d2a7d721590729b7f369fa43')

prepare() {
cd ${pkgname}-${pkgver}
autoreconf -fiv
}

build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr
make
}

package() {
cd ${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}

# vim: ts=2 sw=2 et:

0 comments on commit 83d0cb1

Please sign in to comment.