Date: Monday, April 16, 2018 @ 12:43:13
  Author: bpiotrowski
Revision: 321908

newpkg: rpcsvc-proto 1.3.1-1

Added:
  rpcsvc-proto/
  rpcsvc-proto/repos/
  rpcsvc-proto/trunk/
  rpcsvc-proto/trunk/PKGBUILD

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

Added: rpcsvc-proto/trunk/PKGBUILD
===================================================================
--- rpcsvc-proto/trunk/PKGBUILD                         (rev 0)
+++ rpcsvc-proto/trunk/PKGBUILD 2018-04-16 12:43:13 UTC (rev 321908)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Bartłomiej Piotrowski <bpiotrow...@archlinux.org>
+
+pkgname=rpcsvc-proto
+pkgver=1.3.1
+pkgrel=1
+pkgdesc='rpcsvc protocol definitions from glibc'
+arch=('i686' 'x86_64')
+url='https://github.com/thkukuk/rpcsvc-proto'
+license=(BSD)
+depends=(glibc)
+source=($pkgname-$pkgver.tar.gz::https://github.com/thkukuk/rpcsvc-proto/archive/v$pkgver.tar.gz)
+md5sums=('3e985e2177b2260ee31701dcf0693a5c')
+
+prepare() {
+  cd $pkgname-$pkgver
+  autoreconf -fi
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}

Reply via email to