void-packages/srcpkgs/scantailor/template

22 lines
809 B
Bash

# Template file for 'scantailor'
pkgname=scantailor
version=0.9.11.1
revision=1
wrksrc=${pkgname}-RELEASE_${version//./_}
build_style=cmake
hostmakedepends="cmake 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>${pkgname}-${version}_${revision}.tar.gz"
checksum=1555e604eb648e47e03a28484ca9e840dec5c1e3be8ea5503d616424c4f306fc
post_install() {
vinstall resources/icons/appicon-about.png 644 \
usr/share/pixmaps ${pkgname}.png
vinstall ${FILESDIR}/${pkgname}.desktop 644 \
usr/share/applications
}