wok-next view paper-gtk-theme/receipt @ rev 19988

Add qt5 - now it's look good enough
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Oct 20 03:29:40 2017 +0300 (2017-10-20)
parents e64ba2957d77
children c4e53a39395a
line source
1 # SliTaz package receipt v2.
3 PACKAGE="paper-gtk-theme"
4 VERSION="1.1"
5 COMMIT="02973b6"
6 CATEGORY="customization"
7 SHORT_DESC="Modern desktop theme suite"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="GPL3"
10 WEB_SITE="https://snwh.org/paper/"
11 HOST_ARCH="any"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="https://github.com/snwh/paper-gtk-theme/archive/$COMMIT.tar.gz"
16 BUILD_DEPENDS="autoconf automake"
17 SPLIT="paper-gtk-theme-extra"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 chmod a+x autogen.sh
23 ./autogen.sh &&
24 make && make install
26 # Define small icons is 16x16
27 sed -i '20 i\
28 gtk-icon-sizes="gtk-large-toolbar=16,16:gtk-small-toolbar=16,16:panel-menu=16,16:gtk-button=16,16"' \
29 $install/usr/share/themes/Paper/gtk-2.0/gtkrc
31 # Fix GTK+3 deprecations
32 for i in $(find $install -type f); do
33 sed -i "s|:insensitive|:disabled|g;
34 s|:inconsistent|:indeterminate|g" $i
35 done
37 # Restore "classic" tabs
38 cp -f $stuff/Tabs/*.png $install/usr/share/themes/Paper/gtk-2.0/Tabs/
40 # Make pressed buttons be different with non-pressed
41 cp -f $stuff/Buttons/*.png $install/usr/share/themes/Paper/gtk-2.0/Buttons/
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 case $PACKAGE in
48 paper-gtk-theme)
49 copy gtk-*/ index.theme
50 CAT="customization|GTK+2 and GTK+3 theme"
51 DEPENDS="gtk2-engine-murrine"
52 ;;
53 paper-gtk-theme-extra)
54 copy @std
55 remove_already_packed
56 CAT="customization|extra files"
57 ;;
58 esac
59 }