desktop/kprinter4/PKGBUILD

33 lines
730 B
Bash
Raw Normal View History

2014-06-02 04:07:25 +08:00
# Maintainer: UtG <utg[dot]chakra.linux[at]gmail[dot]com>
pkgname=kprinter4
pkgver=10
pkgrel=2
2014-06-02 04:07:25 +08:00
pkgdesc="GUI for printing Postscript files"
arch=('x86_64')
url="https://github.com/credativ/kprinter4"
license=('GPL3')
depends=('kde-runtime' 'ghostscript' 'psutils' 'poster' 'libspectre')
2014-06-02 04:07:25 +08:00
makedepends=('cmake' 'automoc4')
install=kprinter4.install
source=("https://github.com/credativ/$pkgname/archive/v$pkgver.tar.gz")
md5sums=('3b45beabadbfef48f7106e5ac3896e80')
build() {
cd $srcdir/$pkgname-$pkgver
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DCMAKE_BUILD_TYPE=Debug ..
make
}
package() {
cd $srcdir/$pkgname-$pkgver/build
make DESTDIR=$pkgdir install
}