desktop/krita/PKGBUILD
2016-09-29 00:29:56 +01:00

41 lines
1.1 KiB
Bash

# Contribution from Arch:
# Maintainer: Antonio Rojas <arojas@archlinux,org>
pkgname=krita
pkgver=3.0.1.1
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}.tar.gz")
install=$pkgname.install
sha1sums=('3c74e74ca4d9c486c51f75f7808177469c377072')
build() {
cd $pkgname-$pkgver
mkdir -p build/
cd build/
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_INSTALL_LIBDIR=lib \
-DBUILD_TESTING=OFF
make
}
package() {
cd $pkgname-$pkgver/build
make DESTDIR=$pkgdir install
# Fix conflicts with breeze
rm "$pkgdir"/usr/share/color-schemes/Breeze*
}