desktop/kolourpaint/PKGBUILD

37 lines
947 B
Bash

# Contributions from Arch: https://www.archlinux.org/packages/extra/x86_64/kdegraphics-kolourpaint/
# Include global configuration
source ../kdeapps.conf
pkgname=kolourpaint
pkgver=${_kdever}
pkgrel=1
pkgdesc='A simple painting program to quickly create raster images'
url='http://kde.org/applications/graphics/kolourpaint/'
arch=('x86_64')
license=(GPL LGPL FDL)
groups=('kde' 'kde-uninstall' 'kde-applications' 'kdegraphics')
depends=(kdelibs4support libksane hicolor-icon-theme)
makedepends=(extra-cmake-modules kdesignerplugin kdoctools)
options=('debug')
conflicts=(kdegraphics-kolourpaint)
replaces=(kdegraphics-kolourpaint)
install=${pkgname}.install
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
package() {
cd build
make DESTDIR=${pkgdir} install
}