Date: Saturday, July 23, 2016 @ 16:32:03 Author: arojas Revision: 272212
Add KF5 kolourpaint package Added: kolourpaint/ kolourpaint/kde-unstable/ kolourpaint/kde-unstable/PKGBUILD ----------+ PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) Added: kolourpaint/kde-unstable/PKGBUILD =================================================================== --- kolourpaint/kde-unstable/PKGBUILD (rev 0) +++ kolourpaint/kde-unstable/PKGBUILD 2016-07-23 16:32:03 UTC (rev 272212) @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 271532 2016-07-12 17:20:33Z arojas $ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=kolourpaint +pkgver=16.07.80 +pkgrel=1 +pkgdesc="Paint Program" +url="http://kde.org/applications/graphics/kolourpaint/" +arch=(i686 x86_64) +license=(GPL LGPL FDL) +groups=(kde-applications kdegraphics) +depends=(kdelibs4support libksane hicolor-icon-theme) +makedepends=(extra-cmake-modules) +conflicts=(kdegraphics-kolourpaint) +replaces=(kdegraphics-kolourpaint) +source=("http://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz") +sha1sums=('311849564d515bcf285446a41cead3f338050b1a') + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib \ + -DBUILD_TESTING=OFF + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +}