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

Felix Yan felixonmars at archlinux.org
Fri Nov 9 22:43:43 UTC 2018


    Date: Friday, November 9, 2018 @ 22:43:42
  Author: felixonmars
Revision: 405065

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: libnatpmp/repos/community-staging-x86_64/PKGBUILD (from rev 405063, libnatpmp/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-11-09 22:43:42 UTC (rev 405065)
@@ -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=2
+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