blob: a4c3fd241f59d597713db78b4eb6a411d5f609ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $Id: PKGBUILD 316578 2018-02-10 01:03:30Z arojas $
# Maintainer:
# Contributor: Andrea Scarpino <andrea@archlinux.org>
pkgname=attica-qt4
pkgver=0.4.2
pkgrel=5
pkgdesc='A Qt4 library that implements the Open Collaboration Services API'
arch=('x86_64' 'i686')
url='https://projects.kde.org/projects/frameworks/attica'
license=('LGPL')
depends=('qt5-base')
makedepends=('cmake' 'kdelibs4support' 'extra-cmake-modules')
source=("http://download.kde.org/stable/attica/attica-${pkgver}.tar.bz2")
md5sums=('d62c5c9489a68432e8d990dde7680c24')
prepare() {
mkdir build
}
build() {
cd build
cmake ../attica-${pkgver} \
-DCMAKE_MODULE_PATH:PATH=/usr/lib/cmake/KF5KDELibs4Support \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}
|