desktop/libkolabxml/PKGBUILD

38 lines
757 B
Bash
Raw Normal View History

2013-12-21 00:35:55 +08:00
pkgname=libkolabxml
2015-12-06 21:33:31 +08:00
pkgver=1.1.2
2014-10-17 05:31:47 +08:00
pkgrel=1
pkgdesc="Kolab XML format schema definitions library"
2013-12-21 00:35:55 +08:00
url='http://git.kolab.org/libkolabxml/'
arch=('x86_64')
license=('GPL')
depends=('xerces-c'
'boost-libs')
makedepends=('cmake'
'boost'
'xsd'
'qt'
'swig')
source=("http://mirror.kolabsys.com/pub/releases/${pkgname}-${pkgver}.tar.gz"{,.gpg})
2015-12-06 21:33:31 +08:00
md5sums=('f9840fe0c8f5e32312cc3fc3e9b982a5'
'1d265643086c58564758add8e5eb72c7')
2013-12-21 00:35:55 +08:00
prepare() {
mkdir -p build
2013-12-21 00:35:55 +08:00
}
build() {
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DQT5_BUILD=ON \
-DBUILD_TESTS=OFF
make
2013-12-21 00:35:55 +08:00
}
package() {
cd build
make DESTDIR="${pkgdir}" install
2013-12-21 00:35:55 +08:00
}