desktop/krita/PKGBUILD
2016-06-02 16:56:41 +02:00

37 lines
1020 B
Bash

# Contribution from Arch:
# Maintainer: Antonio Rojas <arojas@archlinux,org>
pkgname=krita
pkgver=3.0
pkgrel=1
pkgdesc="Edit and paint images"
arch=('x86_64')
url="http://krita.org"
license=('LGPL')
depends=('kio' 'kitemmodels' 'gsl' 'libraw' 'opencolorio' 'exiv2' 'openexr' 'openjpeg' 'fftw' 'curl' 'boost-libs'
'hicolor-icon-theme')
makedepends=('extra-cmake-modules' 'kdoctools' 'python3' 'boost' 'eigen3' 'vc' 'poppler-qt5')
optdepends=('poppler-qt5: PDF filter')
conflicts=('calligra-krita')
provides=('calligra-krita')
replaces=('calligra-krita')
source=("http://download.kde.org/stable/$pkgname/$pkgver/$pkgname-$pkgver.tgz")
install=$pkgname.install
sha1sums=('6e0f7763e2ed5e266d916e7f76fadbaaf2c84eb5')
build() {
mkdir -p build && cd build
cmake ../$pkgname-$pkgver \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DBUILD_TESTING=OFF
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}