[arch-commits] Commit in serd/repos (community-x86_64 community-x86_64/PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Tue Feb 6 17:33:45 UTC 2018
Date: Tuesday, February 6, 2018 @ 17:33:45
Author: arojas
Revision: 289459
archrelease: copy trunk to community-x86_64
Added:
serd/repos/community-x86_64/
serd/repos/community-x86_64/PKGBUILD
(from rev 289458, serd/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: serd/repos/community-x86_64/PKGBUILD (from rev 289458, serd/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2018-02-06 17:33:45 UTC (rev 289459)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Contributor: speps <speps at aur dot archlinux dot org>
+
+pkgname=serd
+pkgver=0.22.0
+pkgrel=2
+pkgdesc="A lightweight C library for RDF syntax which supports reading and writing Turtle and NTriples."
+arch=(x86_64)
+url="http://drobilla.net/software/$pkgname/"
+license=('custom:ISC')
+depends=('glibc')
+makedepends=('python2')
+source=("http://download.drobilla.net/$pkgname-$pkgver.tar.bz2")
+md5sums=('541bceb9f7cec50f4bf618060332b87c')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # remove ldconfig
+ sed -i "/ldconfig/d" wscript
+
+ python2 ./waf configure --prefix=/usr \
+ --mandir=/usr/share/man
+ python2 ./waf
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ DESTDIR="$pkgdir" python2 ./waf install
+
+ # license
+ install -Dm644 COPYING \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list