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