Date: Tuesday, March 13, 2018 @ 01:04:18
  Author: anthraxx
Revision: 306744

upgpkg: miniupnpc 2.0.20180222-1

Modified:
  miniupnpc/trunk/PKGBUILD

----------+
 PKGBUILD |   30 +++++++++++++++++-------------
 1 file changed, 17 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-03-13 01:00:04 UTC (rev 306743)
+++ PKGBUILD    2018-03-13 01:04:18 UTC (rev 306744)
@@ -1,25 +1,29 @@
-# $Id$
-# Maintainer: Timothy Redaelli <timothy.redae...@gmail.com>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Timothy Redaelli <timothy.redae...@gmail.com>
 # Contributor: Florian Loitsch <archli...@florian.loitsch.com>
+
 pkgname=miniupnpc
-pkgver=2.0.20170509
-pkgrel=2
-pkgdesc="A small UPnP client library/tool to access Internet Gateway Devices"
+pkgver=2.0.20180222
+pkgrel=1
+pkgdesc='Small UPnP client library/tool to access Internet Gateway Devices'
+url='https://miniupnp.tuxfamily.org/'
 arch=('x86_64')
-url="http://miniupnp.free.fr";
 license=('BSD')
 depends=('sh')
-source=("http://miniupnp.free.fr/files/$pkgname-$pkgver.tar.gz";)
-sha256sums=('d3c368627f5cdfb66d3ebd64ca39ba54d6ff14a61966dbecb8dd296b7039f16a')
+source=(https://miniupnp.tuxfamily.org/files/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('587944686469d09f739744b3aed70c7ce753a79c40d6f1227f68a3e962665b75')
+sha512sums=('0cceeedff6c584d2d7037ff91fbba0fe580fabfda810b9a9ed7c8d8495445339e3ff115d63d4429bcd3eff2b13b123e1bd5855ff1bc9dcd986b968a82c368591')
 
 build() {
-  cd "$pkgname-$pkgver"
+  cd ${pkgname}-${pkgver}
   make
 }
 
 package() {
-  cd "$pkgname-$pkgver"
-  make DESTDIR="$pkgdir/" install
-  install -Dm644 man3/miniupnpc.3 "${pkgdir}"/usr/share/man/man3/miniupnpc.3
-  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -Dm 644 man3/miniupnpc.3 -t "${pkgdir}/usr/share/man/man3"
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
 }
+
+# vim: ts=2 sw=2 et:

Reply via email to