core/attica-qt5/PKGBUILD

42 lines
796 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}
2015-01-13 12:51:39 +08:00
pkgrel=1
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')
depends=("qt5-base")
2014-11-15 06:49:31 +08:00
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
# }
2014-11-14 06:49:11 +08:00
package() {
cd build
make DESTDIR="${pkgdir}" install
}