25 lines
852 B
Bash
25 lines
852 B
Bash
# Template file for 'scantailor'
|
|
pkgname=scantailor
|
|
version=0.9.12
|
|
revision=1
|
|
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=184991f1580ba0532674bb9afa1f368d5e53fb7581ab1a3c2d7067f8eaa9d38f
|
|
|
|
CFLAGS="-fPIC"
|
|
|
|
post_install() {
|
|
vinstall resources/icons/appicon-about.png 644 \
|
|
usr/share/pixmaps ${pkgname}.png
|
|
vinstall ${FILESDIR}/${pkgname}.desktop 644 \
|
|
usr/share/applications
|
|
}
|