mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-06 10:27:13 +08:00
34 lines
770 B
Bash
34 lines
770 B
Bash
|
pkgname=serd
|
||
|
pkgver=0.18.2
|
||
|
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/"
|
||
|
license=('custom:ISC')
|
||
|
depends=('glibc')
|
||
|
makedepends=('python2')
|
||
|
source=("http://download.drobilla.net/$pkgname-$pkgver.tar.bz2")
|
||
|
md5sums=('0569c21860b2ed2744e42884069a40a2')
|
||
|
|
||
|
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"
|
||
|
}
|
||
|
|