[arch-commits] Commit in serd/repos (2 files)
David Runge
dvzrv at archlinux.org
Wed Jul 25 10:35:33 UTC 2018
Date: Wednesday, July 25, 2018 @ 10:35:33
Author: dvzrv
Revision: 363373
archrelease: copy trunk to community-staging-x86_64
Added:
serd/repos/community-staging-x86_64/
serd/repos/community-staging-x86_64/PKGBUILD
(from rev 363372, serd/trunk/PKGBUILD)
----------+
PKGBUILD | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
Copied: serd/repos/community-staging-x86_64/PKGBUILD (from rev 363372, serd/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-07-25 10:35:33 UTC (rev 363373)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: David Runge <dave at sleepmap.de>
+# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Contributor: speps <speps at aur dot archlinux dot org>
+
+pkgname=serd
+pkgver=0.30.0
+pkgrel=1
+pkgdesc="Lightweight C library for RDF syntax supporting reading/ writing Turtle and NTriples."
+arch=('x86_64')
+url="https://drobilla.net/software/serd/"
+license=('custom:ISC')
+depends=('glibc')
+makedepends=('python')
+source=("https://download.drobilla.net/${pkgname}-${pkgver}.tar.bz2"{,.sig})
+sha512sums=('23ff30f2d3dd622bdd65deee36cb92ae5f4a0c539cf32a1bd9802f2d7cf4aa3e96f25d2fe579277d1ab943f6d25c0be68d7b4863f83d4733f489462620a4c1bb'
+ 'SKIP')
+validpgpkeys=('907D226E7E13FA337F014A083672782A9BF368F3')
+
+prepare() {
+ cd "${pkgname}-${pkgver}"
+ # remove call to local ldconfig
+ sed -i "/ldconfig/d" wscript
+}
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ python waf configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --test
+ python waf
+}
+
+check() {
+ cd "${pkgname}-${pkgver}"
+ python waf test
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ python waf install --destdir="${pkgdir}"
+ # license
+ install -vDm 644 COPYING \
+ "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
+ # docs
+ install -t "$pkgdir/usr/share/doc/${pkgname}" \
+ -vDm 644 {AUTHORS,NEWS,README.md}
+}
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list