wok-next view qupzilla/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 6befec62b46c
children 5669e8b3be70
line source
1 # SliTaz PACKAGE receipt v2.
3 PACKAGE="qupzilla"
4 VERSION="1.8.5"
5 CATEGORY="network"
6 SHORT_DESC="QupZilla - QtWebKit browser"
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://github.com/QupZilla/qupzilla"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
14 BUILD_DEPENDS="Qt4-dev qmake openssl-dev xorg-libX11-dev"
15 SPLIT="$PACKAGE-locales"
17 COOKOPTS="!pixmaps"
19 compile_rules() {
20 qmake QupZilla.pro &&
21 make &&
22 make INSTALL_ROOT=$install install
23 }
25 genpkg_rules() {
26 case $PACKAGE in
27 qupzilla)
28 cp -a $install/* $fs
29 rm -rf $fs/usr/share/bash-completion
30 for size in 64 128 256; do
31 rm -rf $fs/usr/share/icons/hicolor/${size}x$size
32 done
33 rm -rf $fs/usr/share/pixmaps
34 rm -rf $fs/usr/share/qupzilla/locale
35 DEPENDS="libQtCore libQtDBus libQtGui libQtNetwork libQtScript \
36 libQtSql libQtXml openssl xorg-libX11 zlib cacerts xdg-utils \
37 libQtWebkit"
38 SUGGESTED="libQtWebkit-video qupzilla-locales"
39 TAGS="web-browser"
40 ;;
41 qupzilla-locales)
42 p=usr/share/qupzilla
43 mkdir -p $fs/$p
44 cp -a $install/$p/locale $fs/$p
45 CAT="localization|translations"
46 DEPENDS="qupzilla"
47 ;;
48 esac
49 }