[arch-commits] Commit in serd/repos/community-x86_64 (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Sun Feb 18 22:40:12 UTC 2018
Date: Sunday, February 18, 2018 @ 22:40:11
Author: dvzrv
Revision: 296263
archrelease: copy trunk to community-x86_64
Added:
serd/repos/community-x86_64/PKGBUILD
(from rev 296262, serd/trunk/PKGBUILD)
Deleted:
serd/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 87 +++++++++++++++++++++++++++++++++++--------------------------
1 file changed, 50 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-02-18 22:40:01 UTC (rev 296262)
+++ PKGBUILD 2018-02-18 22:40:11 UTC (rev 296263)
@@ -1,37 +0,0 @@
-# $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:
Copied: serd/repos/community-x86_64/PKGBUILD (from rev 296262, serd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-02-18 22:40:11 UTC (rev 296263)
@@ -0,0 +1,50 @@
+# $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=2
+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 \
+ --test
+ python waf
+}
+
+check() {
+ cd "${pkgname}-${pkgver}"
+ python waf test
+}
+
+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