Date: Saturday, April 2, 2016 @ 00:08:34 Author: arojas Revision: 263736
Add Krita beta Added: krita/ krita/kde-unstable/ krita/kde-unstable/PKGBUILD krita/kde-unstable/krita.install ---------------+ PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ krita.install | 13 +++++++++++++ 2 files changed, 52 insertions(+) Added: krita/kde-unstable/PKGBUILD =================================================================== --- krita/kde-unstable/PKGBUILD (rev 0) +++ krita/kde-unstable/PKGBUILD 2016-04-01 22:08:34 UTC (rev 263736) @@ -0,0 +1,39 @@ +# $Id: PKGBUILD 262594 2016-03-26 20:49:29Z arojas $ +# Maintainer: Antonio Rojas <arojas@archlinux,org> + +pkgname=krita +pkgver=2.99.88 +pkgrel=1 +pkgdesc="Edit and paint images" +arch=(i686 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 python boost eigen vc poppler-qt5) +optdepends=('poppler-qt5: PDF filter') +conflicts=(calligra-krita) +provides=(calligra-krita) +replaces=(calligra-krita) +source=("http://download.kde.org/unstable/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz") +install=$pkgname.install +md5sums=('42a6d598cbff5836c6b0b991ad9f09d2') + +prepare() { + mkdir -p build +} + +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 +} Added: krita/kde-unstable/krita.install =================================================================== --- krita/kde-unstable/krita.install (rev 0) +++ krita/kde-unstable/krita.install 2016-04-01 22:08:34 UTC (rev 263736) @@ -0,0 +1,13 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} +
