# $Id: PKGBUILD 128006 2011-06-20 16:39:37Z andrea $ # Maintainer: Andrea Scarpino # Contributor: Tobias Powalowski pkgname=soprano pkgver=2.6.50git20110620 pkgrel=1 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' 'redland-storage-virtuoso' 'libiodbc' 'virtuoso') makedepends=('cmake' 'openjdk6' 'doxygen') #source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2") source=("${pkgname}-${pkgver}.tar.bz2"::'http://quickgit.kde.org/?p=soprano.git&a=snapshot&h=85bc67f8b91a6ff729e447d233e7ddacf00c5885&fmt=tbz2') md5sums=('c01ca7414c39cd0d0beef323a7261071') build() { cd "${srcdir}" mkdir build cd build . /etc/profile.d/openjdk6.sh # we need the rpath cmake ../${pkgname} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_SKIP_RPATH=OFF \ -DCMAKE_INSTALL_PREFIX=/usr \ -DSOPRANO_DISABLE_CLUCENE_INDEX=ON make } package() { cd "${srcdir}"/build make DESTDIR="${pkgdir}" install }