diff --git a/srcpkgs/scantailor/template b/srcpkgs/scantailor/template index d3a19049a8d..d5f71d0cfec 100644 --- a/srcpkgs/scantailor/template +++ b/srcpkgs/scantailor/template @@ -1,9 +1,8 @@ # Template file for 'scantailor' pkgname=scantailor -version=0.9.11.1.20160227 +version=0.9.12 revision=1 -_version=${version%.*} -wrksrc=${pkgname}-RELEASE_${_version//./_} +wrksrc=${pkgname}-RELEASE_${version//./_} build_style=cmake #configure_args="-DPTHREADS_CFLAGS=-pthread -DPTHREADS_LIBS=-pthread" hostmakedepends="cmake qt-devel qt-qmake pkg-config" @@ -12,8 +11,8 @@ short_desc="Interactive post-processing for scans" maintainer="Jürgen Buchmüller " license="GPL-3" homepage="http://scantailor.org/" -distfiles="http://github.com/${pkgname}/${pkgname}/archive/RELEASE_${_version//./_}.tar.gz" -checksum=1555e604eb648e47e03a28484ca9e840dec5c1e3be8ea5503d616424c4f306fc +distfiles="http://github.com/${pkgname}/${pkgname}/archive/RELEASE_${version//./_}.tar.gz" +checksum=184991f1580ba0532674bb9afa1f368d5e53fb7581ab1a3c2d7067f8eaa9d38f CFLAGS="-fPIC" diff --git a/srcpkgs/scantailor/update b/srcpkgs/scantailor/update new file mode 100644 index 00000000000..e7abd4e82b6 --- /dev/null +++ b/srcpkgs/scantailor/update @@ -0,0 +1,2 @@ +site=https://github.com/scantailor/scantailor/releases +pattern='RELEASE_.*">\K[\d.]+'