Date: Wednesday, April 11, 2018 @ 10:37:45
  Author: bpiotrowski
Revision: 321539

archrelease: copy trunk to staging-x86_64

Added:
  libnsl/repos/staging-x86_64/
  libnsl/repos/staging-x86_64/PKGBUILD
    (from rev 321538, libnsl/trunk/PKGBUILD)
Deleted:
  libnsl/repos/testing-x86_64/

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

Copied: libnsl/repos/staging-x86_64/PKGBUILD (from rev 321538, 
libnsl/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD                             (rev 0)
+++ staging-x86_64/PKGBUILD     2018-04-11 10:37:45 UTC (rev 321539)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Bartłomiej Piotrowski <bpiotrow...@archlinux.org>
+
+pkgname=libnsl
+pkgver=1.2.0
+pkgrel=1
+pkgdesc='Public client interface library for NIS(YP) and NIS+'
+arch=(x86_64)
+url='https://github.com/thkukuk/libnsl'
+license=('LGPL2.1')
+depends=(libtirpc)
+source=($pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz)
+md5sums=('05222024777e12e2f6d48f2e7d067ac7')
+
+prepare() {
+  cd $pkgname-$pkgver
+  ./autogen.sh
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --disable-static
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Reply via email to