mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 14:54:37 +08:00
34 lines
948 B
Bash
34 lines
948 B
Bash
# $Id: PKGBUILD 53575 2009-10-02 16:19:01Z andrea $
|
|
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
|
|
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
|
|
|
|
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
|
|
}
|