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

Up paper-gtk-theme, slitaz-next.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Sep 07 23:39:42 2017 +0300 (2017-09-07)
parents 4b55a51aefa5
children 250165915708
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 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
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 case $PACKAGE in
35 paper-gtk-theme)
36 copy gtk-*/ index.theme
37 CAT="customization|GTK+2 and GTK+3 theme"
38 DEPENDS="gtk2-engine-murrine"
39 ;;
40 paper-gtk-theme-extra)
41 copy @std
42 remove_already_packed
43 CAT="customization|extra files"
44 ;;
45 esac
46 }