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

Antonio Rojas arojas at archlinux.org
Sun Jan 1 21:04:39 UTC 2017


    Date: Sunday, January 1, 2017 @ 21:04:38
  Author: arojas
Revision: 204133

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  libnatpmp/repos/community-testing-i686/
  libnatpmp/repos/community-testing-i686/PKGBUILD
    (from rev 204132, libnatpmp/trunk/PKGBUILD)
  libnatpmp/repos/community-testing-x86_64/
  libnatpmp/repos/community-testing-x86_64/PKGBUILD
    (from rev 204132, libnatpmp/trunk/PKGBUILD)

-----------------------------------+
 community-testing-i686/PKGBUILD   |   33 +++++++++++++++++++++++++++++++++
 community-testing-x86_64/PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)

Copied: libnatpmp/repos/community-testing-i686/PKGBUILD (from rev 204132, libnatpmp/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2017-01-01 21:04:38 UTC (rev 204133)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: 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=1
+pkgdesc='A portable and fully compliant implementation of the NAT-PMP protocol'
+arch=(i686 x86_64)
+url='http://miniupnp.free.fr/libnatpmp.html'
+license=(BSD)
+depends=(glibc)
+source=(http://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"
+}

Copied: libnatpmp/repos/community-testing-x86_64/PKGBUILD (from rev 204132, libnatpmp/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2017-01-01 21:04:38 UTC (rev 204133)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: 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=1
+pkgdesc='A portable and fully compliant implementation of the NAT-PMP protocol'
+arch=(i686 x86_64)
+url='http://miniupnp.free.fr/libnatpmp.html'
+license=(BSD)
+depends=(glibc)
+source=(http://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