core/attica-qt5/PKGBUILD

42 lines
804 B
Bash
Raw Normal View History

2014-11-14 06:49:11 +08:00
# Contributor: Andrea Scarpino <andrea@archlinux.org>
source ../frameworks.conf
pkgname=attica-qt5
_pkgname=attica
pkgver=${KFVersion}
2014-11-15 06:49:31 +08:00
pkgrel=2
2014-11-14 06:49:11 +08:00
arch=('x86_64')
url='https://projects.kde.org/projects/kdesupport/${_pkgname}'
pkgdesc='A Qt5 library that implements the Open Collaboration Services API'
license=('LGPL')
2014-11-15 06:49:31 +08:00
depends=("qt5-base>=${KFQtVersion}")
makedepends=("extra-cmake-modules>=${KFECMVersion}")
2014-11-14 06:49:11 +08:00
checkdepends=("cmake")
options=("debug")
2014-11-15 06:49:31 +08:00
source=("${KFServer}/${_pkgname}-${pkgver}.tar.xz")
2014-11-14 06:49:11 +08:00
replaces=("kf5-attica")
provides=("kf5-attica")
conflicts=("kf5-attica")
sha256sums=($(getSum $_pkgname))
prepare() {
mkdir -p build
}
build() {
cd build
2014-11-15 06:49:31 +08:00
cmake_kf5 ../${_pkgname}-${pkgver}
2014-11-14 06:49:11 +08:00
make
}
check() {
cd build
make test
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}