27 lines
947 B
Bash
27 lines
947 B
Bash
# Template file for 'scantailor'
|
|
pkgname=scantailor
|
|
version=0.9.11.1
|
|
revision=1
|
|
wrksrc=${pkgname}-RELEASE_${version//./_}
|
|
build_style=cmake
|
|
hostmakedepends="cmake pkg-config"
|
|
makedepends="libpng-devel tiff-devel boost-devel qt-devel libXrender-devel"
|
|
depends="libGL"
|
|
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
|
|
|
|
pre_configure() {
|
|
# Hint cmake where to the find qmake
|
|
configure_args+=" -DQT_QMAKE_EXECUTABLE=${XBPS_CROSS_BASE}/usr/lib/qt/bin/qmake"
|
|
}
|
|
post_install() {
|
|
vinstall resources/icons/appicon-about.png 644 \
|
|
usr/share/pixmaps ${pkgname}.png
|
|
vinstall ${FILESDIR}/${pkgname}.desktop 644 \
|
|
usr/share/applications
|
|
}
|