mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
40 lines
1.1 KiB
Bash
40 lines
1.1 KiB
Bash
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
|
|
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
|
|
# Andrea Scarpino <andrea@archlinux.org>
|
|
|
|
pkgname=libkolabxml
|
|
pkgver=1.0.2
|
|
pkgrel=1
|
|
pkgdesc="Kolab XML format schema definitions library"
|
|
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})
|
|
sha512sums=('6ae1a5c5de0ccb0d4ac00aee583ed566b3aff4d5a88edaab6d1d174752d13aa694901c08f9ba887b58826e9e0e79421b00b4fe16e2b29978dc9ba09f9a750207'
|
|
'4ed776c125ac5d2cec4285ca93bf3adac17eb497793b4976a3faa4a25e850beefc4bfc1c672aa181676cfc2126059a29a3e51b31f791bbfaa3908c11a851f01e')
|
|
|
|
prepare() {
|
|
mkdir "${srcdir}/build"
|
|
}
|
|
|
|
build() {
|
|
cd "${srcdir}/build"
|
|
cmake "../${pkgname}-${pkgver}" \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DQT_QMAKE_EXECUTABLE=qmake
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/build"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|