# $Id: PKGBUILD 53575 2009-10-02 16:19:01Z andrea $ # Maintainer: Andrea Scarpino # Contributor: Tobias Powalowski pkgname=soprano pkgver=2.4.3 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' 'clucene' 'redland' 'libiodbc' 'virtuoso') makedepends=('cmake' 'openjdk6') source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2") md5sums=('e2bfa179a03810af60618110f5f832e2') 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 || return \ make || return 1 } package() { cd ${srcdir}/build make DESTDIR="${pkgdir}" install || return 1 }