Commit 5089e23c authored by Ram-Z's avatar Ram-Z

This'll work

parent 593ea788
# Contributor: Andrea Scarpino <andrea@archlinux.org>
source ../frameworks.conf
pkgname=attica-qt5
_pkgname=attica
pkgver=${KFVersion}
pkgver=5.45.0
pkgrel=1
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")
makedepends=("extra-cmake-modules>=${KFECMVersion}")
makedepends=("extra-cmake-modules>=${pkgver}")
checkdepends=("cmake")
options=("debug")
source=("${KFServer}/${_pkgname}-${pkgver}.tar.xz")
_url=("https://download.kde.org/stable/frameworks/${pkgver%.*}/${_pkgname}-${pkgver}.tar.xz")
source=(${_url}{,.sig})
replaces=("kf5-attica")
provides=("kf5-attica")
conflicts=("kf5-attica")
sha256sums=($(getSum $_pkgname))
sha256sums=($(curl "$_url.sha256" | cut -c-64)
SKIP)
validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB)
prepare() {
mkdir -p build
......@@ -26,7 +27,15 @@ prepare() {
build() {
cd build
cmake_kf5 ../${_pkgname}-${pkgver}
cmake ../${_pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_INSTALL_LIBDIR=lib \
-DKDE_INSTALL_SYSCONFDIR=/etc \
-DKDE_INSTALL_LIBEXECDIR=lib \
-DBUILD_TESTING=OFF \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
make
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment