[arch-commits] Commit in serd/repos (2 files)

David Runge dvzrv at archlinux.org
Wed Feb 7 12:23:48 UTC 2018


    Date: Wednesday, February 7, 2018 @ 12:23:47
  Author: dvzrv
Revision: 289970

archrelease: copy trunk to community-testing-x86_64

Added:
  serd/repos/community-testing-x86_64/
  serd/repos/community-testing-x86_64/PKGBUILD
    (from rev 289969, serd/trunk/PKGBUILD)

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

Copied: serd/repos/community-testing-x86_64/PKGBUILD (from rev 289969, serd/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2018-02-07 12:23:47 UTC (rev 289970)
@@ -0,0 +1,44 @@
+# $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.28.0
+pkgrel=1
+pkgdesc="A lightweight C library for RDF syntax which supports reading and 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=('b25cc70af17ff821812ab2a70c2812c1713ff811a0f18fb5d5c54f3b67e0c68293aabedfacd687afe6b7acdfd81602ef81764d7e11bc0d933de738bc6d4fce3e'
+            '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
+  python ./waf
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  python ./waf install --destdir="${pkgdir}"
+  # license
+  install -vDm644 COPYING \
+    "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
+  # docs
+  install -t "$pkgdir/usr/share/doc/${pkgname}" \
+    -vDm644 {AUTHORS,NEWS,README.md}
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list