qpdfview: update to 0.4.12

This commit is contained in:
Alessio Sergi 2014-10-06 12:42:41 +02:00
parent 79f52f2616
commit 7b0c52344f

View file

@ -1,6 +1,6 @@
# Template file for 'qpdfview'
pkgname=qpdfview
version=0.4.11.1
version=0.4.12
revision=1
hostmakedepends="pkg-config qt-qmake"
makedepends="qt-devel poppler-qt4-devel libspectre-devel djvulibre-devel file-devel cups-devel"
@ -10,11 +10,7 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://launchpad.net/qpdfview"
license="GPL-2"
distfiles="https://launchpad.net/${pkgname}/trunk/${version}/+download/${pkgname}-${version}.tar.gz"
checksum=e8ffbe23d30bd04e9178277f48154053d98154a219d10b60e9e910d3328fe60b
pre_configure() {
sed -i '/^Icon=/s|=.*|=qpdfview|' miscellaneous/${pkgname}.desktop.in
}
checksum=0fb8166919de7a613e1112aa0886f55605d14e8bd526d4729f98ae1d60ced4c0
do_configure() {
lrelease ${pkgname}.pro
@ -28,7 +24,3 @@ do_build() {
do_install() {
make INSTALL_ROOT=${DESTDIR} install
}
post_install() {
install -Dm644 icons/${pkgname}.svg ${DESTDIR}/usr/share/icons/hicolor/scalable/apps/${pkgname}.svg
}