void-packages/srcpkgs/scantailor/template

24 lines
848 B
Bash

# Template file for 'scantailor'
pkgname=scantailor
version=0.9.12.1
revision=1
wrksrc=${pkgname}-RELEASE_${version//./_}
build_style=cmake
#configure_args="-DPTHREADS_CFLAGS=-pthread -DPTHREADS_LIBS=-pthread"
hostmakedepends="qt-devel qt-qmake pkg-config"
makedepends="libpng-devel tiff-devel boost-devel qt-devel libXrender-devel"
short_desc="Interactive post-processing for scans"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-3"
homepage="http://scantailor.org/"
distfiles="http://github.com/${pkgname}/${pkgname}/archive/RELEASE_${version//./_}.tar.gz"
checksum=ef5d5bdca207ab00701121a32e9b95c7c7353c642b9538b3f9ca040d8d1a5dde
CFLAGS="-fPIC"
post_install() {
vinstall resources/icons/appicon-about.png 644 \
usr/share/pixmaps ${pkgname}.png
vinstall ${FILESDIR}/${pkgname}.desktop 644 \
usr/share/applications
}