New package 'serd-git' as replacement for 'serd-svn'
This commit is contained in:
commit
7af7f48dbe
4 changed files with 76 additions and 0 deletions
21
.SRCINFO
Normal file
21
.SRCINFO
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# Generated by mksrcinfo v8
|
||||||
|
# Tue Jan 19 19:17:44 UTC 2016
|
||||||
|
pkgbase = serd-git
|
||||||
|
pkgdesc = A lightweight C library for RDF syntax which supports reading and writing Turtle and NTriples
|
||||||
|
pkgver = 0.22.1.r498.b1be377
|
||||||
|
pkgrel = 1
|
||||||
|
url = http://drobilla.net/software/serd/
|
||||||
|
install = serd.install
|
||||||
|
arch = i686
|
||||||
|
arch = x86_64
|
||||||
|
license = custom:ISC
|
||||||
|
makedepends = python
|
||||||
|
makedepends = git
|
||||||
|
provides = serd
|
||||||
|
conflicts = serd
|
||||||
|
conflicts = serd-svn
|
||||||
|
source = serd::git+http://git.drobilla.net/serd.git
|
||||||
|
md5sums = SKIP
|
||||||
|
|
||||||
|
pkgname = serd-git
|
||||||
|
|
7
.gitignore
vendored
Normal file
7
.gitignore
vendored
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
serd
|
||||||
|
src
|
||||||
|
pkg
|
||||||
|
serd-git-*.tar.xz
|
||||||
|
serd-git-*.src.tar.gz
|
||||||
|
.AURINFO
|
||||||
|
|
37
PKGBUILD
Normal file
37
PKGBUILD
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
# Maintainer: Christopher Arndt <aur -at- chrisarndt -dot- de>
|
||||||
|
|
||||||
|
_pkgname=serd
|
||||||
|
pkgname="${_pkgname}-git"
|
||||||
|
pkgver=0.22.1.r498.b1be377
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="A lightweight C library for RDF syntax which supports reading and writing Turtle and NTriples"
|
||||||
|
arch=('i686' 'x86_64')
|
||||||
|
url="http://drobilla.net/software/serd/"
|
||||||
|
license=('custom:ISC')
|
||||||
|
makedepends=('python' 'git')
|
||||||
|
conflicts=("${_pkgname}" 'serd-svn')
|
||||||
|
provides=("${_pkgname}")
|
||||||
|
install="${_pkgname}.install"
|
||||||
|
source="$_pkgname::git+http://git.drobilla.net/serd.git"
|
||||||
|
md5sums=('SKIP')
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd "${srcdir}/${_pkgname}"
|
||||||
|
|
||||||
|
local ver=`grep "^SERD_VERSION" wscript | cut -d "'" -f 2`
|
||||||
|
echo "$ver.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "${srcdir}/${_pkgname}"
|
||||||
|
|
||||||
|
python ./waf configure --prefix=/usr
|
||||||
|
python waf build $MAKEFLAGS
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$srcdir/$_pkgname"
|
||||||
|
|
||||||
|
python waf install --destdir="$pkgdir"
|
||||||
|
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||||
|
}
|
11
serd.install
Normal file
11
serd.install
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
post_install() {
|
||||||
|
ldconfig
|
||||||
|
}
|
||||||
|
|
||||||
|
post_upgrade() {
|
||||||
|
post_install
|
||||||
|
}
|
||||||
|
|
||||||
|
post_remove() {
|
||||||
|
post_install
|
||||||
|
}
|
Loading…
Reference in a new issue