[arch-commits] Commit in serd/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Wed Feb 7 12:22:55 UTC 2018
Date: Wednesday, February 7, 2018 @ 12:22:53
Author: dvzrv
Revision: 289969
upgpkg: serd 0.28.0-1
Upgrading to 0.28.0. Switching to https for url and source.
Adding pgp key of David Robillard. Moving removal of ldconfig call to prepare().
Installing docs. Minor fixes.
Modified:
serd/trunk/PKGBUILD
----------+
PKGBUILD | 45 ++++++++++++++++++++++++++-------------------
1 file changed, 26 insertions(+), 19 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-02-07 11:18:41 UTC (rev 289968)
+++ PKGBUILD 2018-02-07 12:22:53 UTC (rev 289969)
@@ -1,37 +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.22.0
-pkgrel=2
+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="http://drobilla.net/software/$pkgname/"
+arch=('x86_64')
+url="https://drobilla.net/software/serd/"
license=('custom:ISC')
depends=('glibc')
-makedepends=('python2')
-source=("http://download.drobilla.net/$pkgname-$pkgver.tar.bz2")
-md5sums=('541bceb9f7cec50f4bf618060332b87c')
+makedepends=('python')
+source=("https://download.drobilla.net/${pkgname}-${pkgver}.tar.bz2"{,.sig})
+sha512sums=('b25cc70af17ff821812ab2a70c2812c1713ff811a0f18fb5d5c54f3b67e0c68293aabedfacd687afe6b7acdfd81602ef81764d7e11bc0d933de738bc6d4fce3e'
+ 'SKIP')
+validpgpkeys=('907D226E7E13FA337F014A083672782A9BF368F3')
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- # remove ldconfig
+prepare() {
+ cd "${pkgname}-${pkgver}"
+ # remove call to local ldconfig
sed -i "/ldconfig/d" wscript
+}
- python2 ./waf configure --prefix=/usr \
- --mandir=/usr/share/man
- python2 ./waf
+build() {
+ cd "${pkgname}-${pkgver}"
+ python ./waf configure --prefix=/usr \
+ --mandir=/usr/share/man
+ python ./waf
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
- DESTDIR="$pkgdir" python2 ./waf install
-
+ cd "${pkgname}-${pkgver}"
+ python ./waf install --destdir="${pkgdir}"
# license
- install -Dm644 COPYING \
- "$pkgdir/usr/share/licenses/$pkgname/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