PKGBUILD 796 Bytes
Newer Older
Xuetian Weng's avatar
Xuetian Weng committed
1 2 3 4 5 6 7
# Contributor: Andrea Scarpino <andrea@archlinux.org>

source ../frameworks.conf

pkgname=attica-qt5
_pkgname=attica
pkgver=${KFVersion}
AlmAck's avatar
AlmAck committed
8
pkgrel=1
Xuetian Weng's avatar
Xuetian Weng committed
9 10 11 12
arch=('x86_64')
url='https://projects.kde.org/projects/kdesupport/${_pkgname}'
pkgdesc='A Qt5 library that implements the Open Collaboration Services API'
license=('LGPL')
13
depends=("qt5-base")
Xuetian Weng's avatar
Xuetian Weng committed
14
makedepends=("extra-cmake-modules>=${KFECMVersion}")
Xuetian Weng's avatar
Xuetian Weng committed
15 16
checkdepends=("cmake")
options=("debug")
Xuetian Weng's avatar
Xuetian Weng committed
17
source=("${KFServer}/${_pkgname}-${pkgver}.tar.xz")
Xuetian Weng's avatar
Xuetian Weng committed
18 19 20 21 22 23 24 25 26 27 28
replaces=("kf5-attica")
provides=("kf5-attica")
conflicts=("kf5-attica")
sha256sums=($(getSum $_pkgname))

prepare() {
  mkdir -p build
}

build() {
  cd build
Xuetian Weng's avatar
Xuetian Weng committed
29
  cmake_kf5 ../${_pkgname}-${pkgver}
Xuetian Weng's avatar
Xuetian Weng committed
30 31 32
  make
}

33 34 35 36
# check() {
#   cd build
#   make test
# }
Xuetian Weng's avatar
Xuetian Weng committed
37 38 39 40 41

package() {
  cd build
  make DESTDIR="${pkgdir}" install
}