desktop/soprano/PKGBUILD

41 lines
1.0 KiB
Bash

# Desktop Packages for Chakra, part of chakra-project.org
# Maintainer : abveritas@chakra-project[dog]org>
# Maintainer : Manuel Tortosa <manutortosa@chakra-project@org>
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=soprano
pkgver=2.9.0
pkgrel=1
pkgdesc='A library which provides a highly usable object-oriented C++/Qt4 framework for RDF data'
arch=('x86_64')
url='http://soprano.sourceforge.net/'
license=('GPL' 'LGPL')
depends=('qt' 'redland-storage-virtuoso' 'libiodbc' 'virtuoso>=6.1.3' 'clucene')
makedepends=('cmake' 'openjdk' 'doxygen')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
md5sums=('90134eaaf40b6663dd01cfaefdaba7fb')
build() {
cd "${srcdir}"
rm -rf build
mkdir build && cd build
. /etc/profile.d/openjdk.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
}