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

Add neofetch, tcl2c-fork; build two versions of tklauncher (using tcl2c and tcl2c-fork) with different warnings
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jun 23 09:45:42 2018 +0300 (2018-06-23)
parents c4e53a39395a
children d5aab818505e
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/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/snwh/paper-gtk-theme/archive/$COMMIT.tar.gz"
15 BUILD_DEPENDS="autoconf automake"
16 SPLIT="paper-gtk-theme-extra"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 chmod a+x autogen.sh
22 ./autogen.sh &&
23 make && make install
25 # Define small icons is 16x16
26 sed -i '20 i\
27 gtk-icon-sizes="gtk-large-toolbar=16,16:gtk-small-toolbar=16,16:panel-menu=16,16:gtk-button=16,16"' \
28 $install/usr/share/themes/Paper/gtk-2.0/gtkrc
30 # Fix GTK+3 deprecations
31 for i in $(find $install -type f); do
32 sed -i "s|:insensitive|:disabled|g;
33 s|:inconsistent|:indeterminate|g" $i
34 done
36 # Restore "classic" tabs
37 cp -f $stuff/Tabs/*.png $install/usr/share/themes/Paper/gtk-2.0/Tabs/
39 # Make pressed buttons be different with non-pressed
40 cp -f $stuff/Buttons/*.png $install/usr/share/themes/Paper/gtk-2.0/Buttons/
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 case $PACKAGE in
47 paper-gtk-theme)
48 copy gtk-*/ index.theme
49 CAT="customization|GTK+2 and GTK+3 theme"
50 DEPENDS="gtk2-engine-murrine"
51 ;;
52 paper-gtk-theme-extra)
53 copy @std @rm
54 CAT="customization|extra files"
55 ;;
56 esac
57 }