26 lines
888 B
Bash
26 lines
888 B
Bash
# Template file for 'scantailor'
|
|
pkgname=scantailor
|
|
version=0.9.11.1.20160227
|
|
revision=1
|
|
_version=${version%.*}
|
|
wrksrc=${pkgname}-RELEASE_${_version//./_}
|
|
build_style=cmake
|
|
#configure_args="-DPTHREADS_CFLAGS=-pthread -DPTHREADS_LIBS=-pthread"
|
|
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"
|
|
checksum=1555e604eb648e47e03a28484ca9e840dec5c1e3be8ea5503d616424c4f306fc
|
|
|
|
CFLAGS="-fPIC"
|
|
|
|
post_install() {
|
|
vinstall resources/icons/appicon-about.png 644 \
|
|
usr/share/pixmaps ${pkgname}.png
|
|
vinstall ${FILESDIR}/${pkgname}.desktop 644 \
|
|
usr/share/applications
|
|
}
|