summaryrefslogtreecommitdiff
path: root/testing/soprano/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/soprano/PKGBUILD')
-rw-r--r--testing/soprano/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/soprano/PKGBUILD b/testing/soprano/PKGBUILD
new file mode 100644
index 000000000..d5ebcdb44
--- /dev/null
+++ b/testing/soprano/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 120527 2011-04-24 17:41:42Z andyrtr $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Tobias Powalowski <tpowa@archlinux.org>
+
+pkgname=soprano
+pkgver=2.6.0
+pkgrel=3
+pkgdesc='A library which provides a highly usable object-oriented C++/Qt4 framework for RDF data'
+arch=('i686' 'x86_64')
+url='http://soprano.sourceforge.net/'
+license=('GPL' 'LGPL')
+depends=('qt' 'clucene' 'redland-compat' 'libiodbc' 'raptor1')
+makedepends=('cmake' 'openjdk6' 'doxygen' 'redland-compat-devel>=>=1.0.12-3' 'rasqal-compat-devel>=>=0.9.21-2')
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('03ae49e87c6ec99e57d0433c2650846f')
+
+build() {
+ cd ${srcdir}
+ mkdir build
+ cd build
+ . /etc/profile.d/openjdk6.sh
+ # we need the rpath
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SKIP_RPATH=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd ${srcdir}/build
+ make DESTDIR="${pkgdir}" install
+}