# $Id: PKGBUILD 130173 2011-07-02 23:43:27Z andrea $ # Maintainer: Andrea Scarpino # Contributor: Tobias Powalowski pkgname=soprano pkgver=2.6.50git20110703 pkgrel=1 pkgdesc='A library which provides a highly usable object-oriented C++/Qt4 framework for RDF data' arch=('i686' 'x86_64' 'mips64el') url='http://soprano.sourceforge.net/' license=('GPL' 'LGPL') depends=('qt' 'redland-storage-virtuoso' 'libiodbc' 'virtuoso') makedepends=('cmake' 'openjdk6' 'doxygen') [ "$CARCH" = "mips64el" ] && makedepends=('cmake' '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=3a7a527fd07c0d58146eb9e6770ecbcfb6717bc6&fmt=tbz2") md5sums=('21ef1f075062ea13d3e55d89d8f92fd2') build() { cd "${srcdir}" mkdir build cd build [ "$CARCH" = "mips64el" ] || \ . /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 } md5sums=('b36ca2f62a3f4e0416077613bfb998d2')