summaryrefslogtreecommitdiff
path: root/social/miniupnpd/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-27 06:05:47 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-27 06:05:47 -0300
commitd73f07b0acf8bae623e1e112a7cb3744a84a92ee (patch)
tree87a2b353ea5229bbe309ea9db9d43bf24e2a6fd8 /social/miniupnpd/PKGBUILD
parentc001329b017288676a28aa6078bf16ad42e318e9 (diff)
parent0ff008e3c9dcc5ef088f481dfff3dcd121575598 (diff)
downloadabslibre-d73f07b0acf8bae623e1e112a7cb3744a84a92ee.tar.gz
abslibre-d73f07b0acf8bae623e1e112a7cb3744a84a92ee.tar.bz2
abslibre-d73f07b0acf8bae623e1e112a7cb3744a84a92ee.zip
Merge branch 'master' of ssh://lukeshu.com:1863/srv/git/mirror/parabola/abslibre
Diffstat (limited to 'social/miniupnpd/PKGBUILD')
-rw-r--r--social/miniupnpd/PKGBUILD41
1 files changed, 0 insertions, 41 deletions
diff --git a/social/miniupnpd/PKGBUILD b/social/miniupnpd/PKGBUILD
deleted file mode 100644
index b0d67c09e..000000000
--- a/social/miniupnpd/PKGBUILD
+++ /dev/null
@@ -1,41 +0,0 @@
-pkgname=miniupnpd
-pkgver=1.7.20120824
-pkgrel=2
-pkgdesc="Lightweight UPnP IGD daemon"
-arch=('i686' 'x86_64' 'mips64el')
-url="http://miniupnp.free.fr"
-license=('BSD')
-backup=(etc/miniupnpd/miniupnpd.conf)
-depends=('libnfnetlink')
-
-eval $(wget "https://projects.archlinux.org/svntogit/packages.git/plain/trunk/PKGBUILD?h=packages/iptables" -O - | awk -F= '
- $1 == "pkgver" { pkgver=$2 }
- $1 == "source" { sub(/\${pkgname}/, "iptables"); sub(/\${pkgver}/, pkgver); print $0 "); " }
- $1 == "sha1sums" { print $0 ");" }
- END { print "_iptables=iptables-" pkgver }')
-
-source+=("http://miniupnp.free.fr/files/$pkgname-$pkgver.tar.gz" miniupnpd.init miniupnpd.systemd)
-sha1sums+=('7abca8ecbcd8596392175eb312941083ed5faf21'
- 'c84031d7af122c5bede8609bcfa80bc31f2a5e61'
- 'bc0ae02a88eceef4f172b07f6f67d5fd54cc6ae0')
-
-build() {
- cd "$srcdir/$_iptables"
- ./configure --enable-static
- make
-
- cd "$srcdir/$pkgname-$pkgver"
- make -f Makefile.linux config.h
- IPTABLESPATH="$srcdir/$_iptables" make -f Makefile.linux
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- mkdir -p "$pkgdir/usr/share/man/man8"
- make PREFIX="$pkgdir/" -f Makefile.linux install
- rm -r "${pkgdir}/etc/init.d"
- install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- install -Dm755 "${srcdir}/miniupnpd.init" "${pkgdir}/etc/rc.d/miniupnpd"
- install -Dm644 "${srcdir}/miniupnpd.systemd" "${pkgdir}/usr/lib/systemd/system/miniupnpd.service"
-}
-