Upstream repository changed and now uses git submodule for waflib

Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
This commit is contained in:
Christopher Arndt 2019-05-16 16:59:55 +02:00
parent a50dae68aa
commit 241326d281
3 changed files with 21 additions and 9 deletions

View file

@ -1,6 +1,6 @@
pkgbase = serd-git
pkgdesc = A lightweight C library for RDF syntax which supports reading and writing Turtle and NTriples
pkgver = 0.30.1.r705.fc6ef04
pkgver = 0.30.1.r752.d14838c
pkgrel = 1
url = http://drobilla.net/software/serd/
install = serd.install
@ -10,10 +10,12 @@ pkgbase = serd-git
makedepends = git
makedepends = python
provides = serd
provides = 0.30.1
provides = serd=0.30.1
conflicts = serd
conflicts = serd-svn
source = serd::git+http://git.drobilla.net/serd.git
source = serd::git+https://gitlab.com/drobilla/serd.git
source = autowaf::git+https://gitlab.com/drobilla/autowaf.git
md5sums = SKIP
md5sums = SKIP
pkgname = serd-git

7
.gitignore vendored
View file

@ -1,6 +1,7 @@
serd
src
pkg
autowaf/
serd/
src/
pkg/
serd-git-*.tar.xz
serd-git-*.src.tar.gz
.AURINFO

View file

@ -2,7 +2,7 @@
_pkgname=serd
pkgname="${_pkgname}-git"
pkgver=0.30.1.r705.fc6ef04
pkgver=0.30.1.r752.d14838c
pkgrel=1
pkgdesc="A lightweight C library for RDF syntax which supports reading and writing Turtle and NTriples"
arch=('i686' 'x86_64')
@ -12,8 +12,9 @@ makedepends=('git' 'python')
conflicts=("${_pkgname}" "${_pkgname}-svn")
provides=("${_pkgname}" "${_pkgname}=${pkgver//.r*/}")
install="${_pkgname}.install"
source=("$_pkgname::git+http://git.drobilla.net/serd.git")
md5sums=('SKIP')
source=("$_pkgname::git+https://gitlab.com/drobilla/serd.git"
'autowaf::git+https://gitlab.com/drobilla/autowaf.git')
md5sums=('SKIP' 'SKIP')
pkgver() {
cd "${srcdir}/${_pkgname}"
@ -22,6 +23,14 @@ pkgver() {
echo "$ver.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
prepare() {
cd "${srcdir}/${_pkgname}"
git submodule init
git config submodule.waflib.url "${srcdir}/autowaf"
git submodule update
}
build() {
cd "${srcdir}/${_pkgname}"