wok-next diff qpdfview/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 743c142c84ab
children
line diff
     1.1 --- a/qpdfview/receipt	Thu Jul 16 14:49:01 2015 +0200
     1.2 +++ b/qpdfview/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -1,28 +1,24 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="qpdfview"
     1.8  VERSION="0.4.15"
     1.9  CATEGORY="office"
    1.10 -SHORT_DESC="qpdfview is a tabbed document viewer"
    1.11 +SHORT_DESC="Tabbed document viewer"
    1.12  MAINTAINER="al.bobylev@gmail.com"
    1.13  LICENSE="GPL2"
    1.14  WEB_SITE="https://launchpad.net/qpdfview"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17  WGET_URL="https://launchpad.net/$PACKAGE/trunk/$VERSION/+download/$TARBALL"
    1.18 -TAGS="viewer pdf ps postscript djvu"
    1.19  
    1.20 -DEPENDS="libcups djvulibre libQtDBus libQtSql libQtSvg libgnutls file \
    1.21 -libspectre poppler-qt4"
    1.22  BUILD_DEPENDS="qmake Qt4-dev libspectre-dev poppler-qt4-dev djvulibre-dev \
    1.23  libmagic-dev cups-dev zlib-dev wget poppler-qt4 poppler-dev"
    1.24  
    1.25 -# Rules to configure and make the package.
    1.26 -compile_rules()
    1.27 -{
    1.28 +compile_rules() {
    1.29  	find $src -name *desktop* -exec sed '/Icon=/s/=.*$/=pdf/g' -i {} \;
    1.30  	#cp -f $stuff/qpdfview_ru.ts $src/translations
    1.31  	#sed -i "s/copy; \\([0-9]*-\\)[0-9]*/copy; \\1$(date +%Y)/" \
    1.32 -		$src/translations/qpdfview_ru.ts
    1.33 +	#	$src/translations/qpdfview_ru.ts
    1.34  
    1.35  	lrelease qpdfview.pro
    1.36  	qmake PREFIX=/usr qpdfview.pro
    1.37 @@ -30,9 +26,9 @@
    1.38  	make INSTALL_ROOT=$install install
    1.39  }
    1.40  
    1.41 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.42 -genpkg_rules()
    1.43 -{
    1.44 +genpkg_rules() {
    1.45  	cp -a $install/* $fs
    1.46 +	DEPENDS="libcups djvulibre libQtDBus libQtSql libQtSvg libgnutls file \
    1.47 +	libspectre poppler-qt4"
    1.48 +	TAGS="viewer pdf ps postscript djvu"
    1.49  }
    1.50 -