blob: 495e092665fe96bdf74dfb0291e894329132a050 (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>
#Contributor: Bruno Pagani (a.k.a. ArchangeGabriel) <bruno.n.pagani at gmail dot com>
pkgname=krita-git
pkgver=3.0.89.r38940.fcf9a43
pkgrel=1
pkgdesc="A free digital painting application. Digital Painting, Creative Freedom!. (GIT Version)"
arch=('i686' 'x86_64')
url="http://www.krita.org/"
license=('GPL2')
depends=('fftw'
'gsl'
'libkdcraw-frameworks-git'
'opencolorio'
'boost-libs'
'exiv2'
'openexr'
'poppler-qt5'
'kio'
)
makedepends=('extra-cmake-modules'
'git'
'boost'
'vc'
'python'
)
provides=('krita')
conflicts=('krita' 'calligra-krita-git')
install=krita-git.install
source=('git://anongit.kde.org/krita.git')
sha1sums=('SKIP')
pkgver() {
cd krita
_ver="$(cat CMakeLists.txt | grep -m3 -e CALLIGRA_STABLE_VERSION_MAJOR -e CALLIGRA_STABLE_VERSION_MINOR -e CALLIGRA_VERSION_RELEASE | cut -d ')' -f1 | grep -o "[[:digit:]]*" | paste -sd'.')"
echo "${_ver}.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
prepare() {
mkdir -p build
}
build() {
cd build
cmake ../krita \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DBUILD_TESTING=OFF
make
}
package() {
make -C build DESTDIR="${pkgdir}" install
}
|