New package 'sord-git' as replacement for 'sord-svn'
This commit is contained in:
commit
82211aaf64
4 changed files with 79 additions and 0 deletions
23
.SRCINFO
Normal file
23
.SRCINFO
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Generated by mksrcinfo v8
|
||||
# Tue Jan 19 19:30:54 UTC 2016
|
||||
pkgbase = sord-git
|
||||
pkgdesc = A lightweight C library for storing RDF statements in memory
|
||||
pkgver = 0.14.1.r334.19cd4c9
|
||||
pkgrel = 1
|
||||
url = http://drobilla.net/software/sord/
|
||||
install = sord.install
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = custom:ISC
|
||||
makedepends = git
|
||||
makedepends = python
|
||||
depends = pcre
|
||||
depends = serd
|
||||
provides = sord
|
||||
conflicts = sord
|
||||
conflicts = sord-svn
|
||||
source = sord::git+http://git.drobilla.net/sord.git
|
||||
md5sums = SKIP
|
||||
|
||||
pkgname = sord-git
|
||||
|
7
.gitignore
vendored
Normal file
7
.gitignore
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
sord
|
||||
src
|
||||
pkg
|
||||
sord-git-*.tar.xz
|
||||
sord-git-*.src.tar.gz
|
||||
.AURINFO
|
||||
|
38
PKGBUILD
Normal file
38
PKGBUILD
Normal file
|
@ -0,0 +1,38 @@
|
|||
# Maintainer: Christopher Arndt <aur -at- chrisarndt -dot- de>
|
||||
|
||||
_pkgname=sord
|
||||
pkgname="${_pkgname}-git"
|
||||
pkgver=0.14.1.r334.19cd4c9
|
||||
pkgrel=1
|
||||
pkgdesc="A lightweight C library for storing RDF statements in memory"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://drobilla.net/software/sord/"
|
||||
license=('custom:ISC')
|
||||
depends=('pcre' 'serd')
|
||||
makedepends=('git' 'python')
|
||||
conflicts=("${_pkgname}" "${_pkgname}-svn")
|
||||
provides=("${_pkgname}")
|
||||
install="${_pkgname}.install"
|
||||
source="${_pkgname}::git+http://git.drobilla.net/sord.git"
|
||||
md5sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "${srcdir}/${_pkgname}"
|
||||
|
||||
local ver=`grep "^SORD_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
sord.install
Normal file
11
sord.install
Normal file
|
@ -0,0 +1,11 @@
|
|||
post_install() {
|
||||
ldconfig
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
}
|
Loading…
Reference in a new issue