wok-next diff paper-gtk-theme/receipt @ rev 19879
qemacs: does not need gcc3
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 04 18:36:44 2017 +0200 (2017-10-04) |
parents | 4b55a51aefa5 |
children | 250165915708 |
line diff
1.1 --- a/paper-gtk-theme/receipt Tue Nov 29 15:26:24 2016 +0200 1.2 +++ b/paper-gtk-theme/receipt Wed Oct 04 18:36:44 2017 +0200 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="paper-gtk-theme" 1.8 VERSION="1.1" 1.9 @@ -8,12 +8,13 @@ 1.10 MAINTAINER="al.bobylev@gmail.com" 1.11 LICENSE="GPL3" 1.12 WEB_SITE="https://snwh.org/paper/" 1.13 +HOST_ARCH="any" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 WGET_URL="https://github.com/snwh/paper-gtk-theme/archive/$COMMIT.tar.gz" 1.17 -HOST_ARCH="any" 1.18 1.19 -DEPENDS="gtk2-engine-murrine" 1.20 BUILD_DEPENDS="autoconf automake" 1.21 +SPLIT="paper-gtk-theme-extra" 1.22 1.23 # Rules to configure and make the package. 1.24 compile_rules() 1.25 @@ -21,10 +22,25 @@ 1.26 chmod a+x autogen.sh 1.27 ./autogen.sh && 1.28 make && make install 1.29 + 1.30 + sed -i '20 i\ 1.31 +gtk-icon-sizes="gtk-large-toolbar=16,16:gtk-small-toolbar=16,16:panel-menu=16,16:gtk-button=16,16"' \ 1.32 + $install/usr/share/themes/Paper/gtk-2.0/gtkrc 1.33 } 1.34 1.35 # Rules to gen a SliTaz package suitable for Tazpkg. 1.36 genpkg_rules() 1.37 { 1.38 - cp -a $install/* $fs 1.39 + case $PACKAGE in 1.40 + paper-gtk-theme) 1.41 + copy gtk-*/ index.theme 1.42 + CAT="customization|GTK+2 and GTK+3 theme" 1.43 + DEPENDS="gtk2-engine-murrine" 1.44 + ;; 1.45 + paper-gtk-theme-extra) 1.46 + copy @std 1.47 + remove_already_packed 1.48 + CAT="customization|extra files" 1.49 + ;; 1.50 + esac 1.51 }