* update libkolabxml to 1.2.1-1

This commit is contained in:
Alexander Baldeck 2022-12-15 22:28:02 +01:00
parent 56e0da265e
commit 1c131e51cd

View File

@ -3,32 +3,25 @@
# Contributor: Andrea Scarpino <andrea@archlinux.org>
pkgname=libkolabxml
pkgver=1.1.6
pkgrel=19
pkgver=1.2.1
pkgrel=1
pkgdesc="Kolab XML Format Schema Definitions Library"
url='https://www.kolab.org/'
arch=(x86_64 powerpc64le powerpc riscv64)
license=('GPL')
depends=('xerces-c' 'boost-libs')
makedepends=('cmake' 'boost' 'xsd' 'swig')
source=("https://mirror.kolabenterprise.com/pub/releases/${pkgname}-${pkgver}.tar.gz"{,.gpg})
sha512sums=('ae74a9276cad2840db09ae9f9178991eb22137a13f83c04dd2fb7513407f2a5e6b7c79d71de80ced786457f1d3c8b5229226aecd8ea139f0af7125268aff4121'
'defc0ae0261182fc8c535bee0598b9d303c2b1373b005b6e6a214f50135534e15b4f0c132d3d78fe093896494c10a381b0569dee350c7843aa60a9de3af0906f')
prepare() {
mkdir build
}
source=(https://cgit.kolab.org/libkolabxml/snapshot/libkolabxml-libkolabxml-$pkgver.tar.gz)
sha512sums=('a4967d84b57d4c637dcc36383f05dbb20fe2ba5e590235eac219ece33e15d29f5eb51e9501a4f9e277900fdec18ddd390e6dc564bf79663bb3513de07f04d39a')
build() {
cd build
cmake ../${pkgname}-${pkgver} \
cmake -B build -S $pkgname-$pkgname-$pkgver \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_TESTS=OFF \
-DBoost_NO_BOOST_CMAKE=ON
make
cmake --build build
}
package() {
cd build
make DESTDIR="${pkgdir}" install
DESTDIR="$pkgdir" cmake --install build
}