2013-12-21 00:35:55 +08:00
|
|
|
|
|
|
|
pkgname=libkolabxml
|
2016-09-18 21:33:05 +08:00
|
|
|
pkgver=1.1.6
|
|
|
|
pkgrel=1
|
2014-01-13 00:22:06 +08:00
|
|
|
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})
|
2016-09-18 21:33:05 +08:00
|
|
|
md5sums=('eec4b8bf117a6e263eed9ee800ae3aa6'
|
|
|
|
'e501162947faf87d5457b7ff19b18b72')
|
2013-12-21 00:35:55 +08:00
|
|
|
|
|
|
|
prepare() {
|
2015-08-11 05:26:57 +08:00
|
|
|
mkdir -p build
|
2013-12-21 00:35:55 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2015-08-11 05:26:57 +08:00
|
|
|
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() {
|
2015-08-11 05:26:57 +08:00
|
|
|
cd build
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2013-12-21 00:35:55 +08:00
|
|
|
}
|