2013-12-21 00:35:55 +08:00
|
|
|
|
|
|
|
pkgname=libkolabxml
|
2015-12-06 21:33:31 +08:00
|
|
|
pkgver=1.1.2
|
2016-03-15 21:09:59 +08:00
|
|
|
pkgrel=2
|
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})
|
2015-12-06 21:33:31 +08:00
|
|
|
md5sums=('f9840fe0c8f5e32312cc3fc3e9b982a5'
|
|
|
|
'1d265643086c58564758add8e5eb72c7')
|
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
|
|
|
}
|