summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/krita/APKBUILD17
1 files changed, 8 insertions, 9 deletions
diff --git a/user/krita/APKBUILD b/user/krita/APKBUILD
index b25d10d38..83a0756b0 100644
--- a/user/krita/APKBUILD
+++ b/user/krita/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=krita
-pkgver=3.3.3
+pkgver=4.1.1
pkgrel=0
pkgdesc="Digital painting program by KDE"
url="https://krita.org/"
@@ -16,18 +16,17 @@ makedepends="cmake extra-cmake-modules qt5-qtbase-dev karchive-dev kconfig-dev
libxcb-dev zlib-dev libpng-dev boost-dev tiff-dev libjpeg-turbo-dev
fftw-dev eigen-dev exiv2-dev lcms2-dev openexr-dev poppler-qt5-dev
gsl-dev libxi-dev"
-install=""
subpackages="$pkgname-lang"
source="https://download.kde.org/stable/krita/$pkgver/krita-$pkgver.tar.gz"
-builddir="$srcdir/krita-$pkgver/build"
prepare() {
- mkdir "$builddir"
- # we CANNOT patch or call default_prepare because of builddir
+ cd "$builddir"
+ default_prepare
+ mkdir -p build
}
build() {
- cd "$builddir"
+ cd "$builddir"/build
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
@@ -45,13 +44,13 @@ build() {
}
check() {
- cd "$builddir"
+ cd "$builddir"/build
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
- cd "$builddir"
+ cd "$builddir"/build
make DESTDIR="$pkgdir" install
}
-sha512sums="b6dc30809e0d6c19fee4bbb240aa53c65e88361ebe273c73c2f24f43904c3cd51719dadb9c11fb7f691f17d75732374295ce904810d8893b7f95b45f859901e0 krita-3.3.3.tar.gz"
+sha512sums="51b7527a3a7b049fc7d8dcd586ef35b574904b1bfa837975cfac055f182413d6c38d6fe81df4948bb4276f5e8a39dc5c981305ff0c42b4a1239b39adaa881904 krita-4.1.1.tar.gz"