[arch-commits] Commit in libnatpmp/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 15:33:35 UTC 2020


    Date: Tuesday, July 7, 2020 @ 15:33:35
  Author: felixonmars
Revision: 658944

archrelease: copy trunk to community-staging-x86_64

Added:
  libnatpmp/repos/community-staging-x86_64/
  libnatpmp/repos/community-staging-x86_64/PKGBUILD
    (from rev 658942, libnatpmp/trunk/PKGBUILD)

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: libnatpmp/repos/community-staging-x86_64/PKGBUILD (from rev 658942, libnatpmp/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 15:33:35 UTC (rev 658944)
@@ -0,0 +1,33 @@
+# Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org>
+# Contributor: Anatol Pomozov <anatol dot pomozov at gmail>
+# Contributor: Gustavo Alvarez <s1pkn07 at gmail.com>
+# Contributor: Kristjan Reinloo <mail at kreinloo dot net>
+# Contributor: Pierre Bourdon <delroth at gmail.com>
+
+pkgname=libnatpmp
+pkgver=20150609
+pkgrel=3
+pkgdesc='A portable and fully compliant implementation of the NAT-PMP protocol'
+arch=(x86_64)
+url='http://miniupnp.free.fr/libnatpmp.html'
+license=(BSD)
+depends=(glibc)
+source=("https://miniupnp.tuxfamily.org/files/libnatpmp-$pkgver.tar.gz")
+sha1sums=('8a4eb09b9512c73ebe4b44b6b66b43504cb69539')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -e 's/CFLAGS = /CFLAGS += /' -i Makefile
+}
+
+build() {
+  cd $pkgname-$pkgver
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make INSTALLPREFIX="$pkgdir/usr" INSTALLDIRINC="$pkgdir/usr/include" install
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -Dm644 natpmpc.1 "$pkgdir/usr/share/man/man1/natpmpc.1"
+}



More information about the arch-commits mailing list