[arch-commits] Commit in sord/repos (2 files)
David Runge
dvzrv at archlinux.org
Wed Jul 25 15:45:43 UTC 2018
Date: Wednesday, July 25, 2018 @ 15:45:43
Author: dvzrv
Revision: 363387
archrelease: copy trunk to community-staging-x86_64
Added:
sord/repos/community-staging-x86_64/
sord/repos/community-staging-x86_64/PKGBUILD
(from rev 363386, sord/trunk/PKGBUILD)
----------+
PKGBUILD | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
Copied: sord/repos/community-staging-x86_64/PKGBUILD (from rev 363386, sord/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-07-25 15:45:43 UTC (rev 363387)
@@ -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=sord
+pkgver=0.16.2
+pkgrel=1
+pkgdesc="A lightweight C library for storing RDF data in memory"
+arch=('x86_64')
+url="https://drobilla.net/software/sord/"
+license=('custom:ISC')
+depends=('serd' 'pcre')
+makedepends=('python2')
+source=("https://download.drobilla.net/${pkgname}-${pkgver}.tar.bz2"{,.sig})
+sha512sums=('fe143c07ed18c15ffaf2461ca587df76e365a075f5d93f5eaa4c26196e0b1dd59d24d16e176de3664a2658377a2934083af5742c80884e8e7dd201dcaccb9698'
+ 'SKIP')
+validpgpkeys=('907D226E7E13FA337F014A083672782A9BF368F3') # David Robillard
+
+prepare() {
+ cd "${pkgname}-${pkgver}"
+ # remove local call to ldconfig
+ sed -i "/ldconfig/d" wscript
+}
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ python2 waf configure --prefix=/usr \
+ --test
+ python2 waf build
+}
+
+check() {
+ cd "${pkgname}-${pkgver}"
+ python2 waf test --verbose-tests
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ python2 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}
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list