blob: a91826727001d5f9eab406af09b60e144f8b4fd4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer:
pkgname=soprano
pkgver=2.9.4
pkgrel=5
pkgdesc="KDE RDF framework"
url="http://soprano.sourceforge.net/"
arch="all"
license="LGPL"
depends=
depends_dev="qt-dev raptor2-dev rasqal-dev redland-dev libiodbc-dev clucene-dev"
makedepends="$depends_dev cmake automoc4 doxygen"
install=""
subpackages="$pkgname-dev"
source="http://sourceforge.net/projects/soprano/files/Soprano/$pkgver/soprano-$pkgver.tar.bz2
soprano-2.9.4-dbus-1.patch"
_builddir="$srcdir"/soprano-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
mkdir "$_builddir"/build
}
build() {
cd "$_builddir"/build
cmake -DCMAKE_INSTALL_PREFIX=/usr "$_builddir" \
|| return 1
make || return 1
}
package() {
cd "$_builddir"/build
make DESTDIR="$pkgdir" install || return 1
}
md5sums="91413e5783efeee0beb747ea4c5c9ef0 soprano-2.9.4.tar.bz2
46741dc5c70c79c12bde5040bd570e82 soprano-2.9.4-dbus-1.patch"
sha256sums="64066fbd54e71d7ae4c8a4116997448a72808a2813cff3bb5d2c28f0fce9e0e5 soprano-2.9.4.tar.bz2
9bd7e2bfed9b99c230c8cea0c56c03b07f076c6722c564e7973116a8ff582d75 soprano-2.9.4-dbus-1.patch"
sha512sums="3a907d7fa564cc5641e6d620a46efb3c01f8a141fb3a1afdf72422727d968baf00268c2dce420db24de2e86d3373fdd3473eeabaa736170f76bb2672c8ad80b0 soprano-2.9.4.tar.bz2
9d8fa3bd0763020a401561a87439d10cdaf7f8b61a475e21d6ab4908a0a10d886ec490bbcd4d71ac7420d09ec1637060ba23aa2e27ee0d92ddbd4905694a6493 soprano-2.9.4-dbus-1.patch"
|