wok-next view paper-icon-theme/receipt @ rev 20785

gpgme: add gnupg, since build can not find gpgconf and gpg
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 07:02:52 2018 +0000 (2018-06-09)
parents 250165915708
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="paper-icon-theme"
4 VERSION="1.4.0.31" # released v.1.4.0 + 31 commits since it
5 COMMIT="c153195"
6 CATEGORY="customization"
7 SHORT_DESC="Simple and modern icon theme with material design influences"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="CC-BY-SA-4"
10 WEB_SITE="https://snwh.org/paper/"
12 TARBALL="$PACKAGE-$COMMIT.tar.gz"
13 WGET_URL="$GITHUB/snwh/paper-icon-theme/tarball/${COMMIT:-$VERSION}"
15 BUILD_DEPENDS="automake" # svgcleaner"
17 compile_rules() {
18 ./autogen.sh &&
19 sed -i 's|-Rv|-R|' Makefile &&
20 make && make install
22 # remove hdpi icons, and huge sizes
23 it="$install/usr/share/icons/Paper/index.theme"
24 for i in 8x8@2x 16x16@2x 24x24@2x 32x32@2x 48x48@2x 512x512@2x 512x512; do
25 echo "Remove $i"
26 rm -r $install/usr/share/icons/Paper/$i
27 sed -i "s|$i[^,]*,||g" $it
28 sed -i "/^\[$i/,/^\[/{/^\[/b;d}" $it
29 sed -i "/^\[$i/d" $it
30 done
31 sed -i '/HiDPi/,$d' $it
33 # # remove duplicates (keep <name>.png, remove <name>.svg)
34 # for svg in $(find $install -name '*.svg'); do
35 # if [ -e "${svg%svg}png" ]; then
36 # echo "Remove duplicate: ${svg#*Paper/}"
37 # rm "$svg"
38 # fi
39 # done
40 }
42 genpkg_rules() {
43 cp -a $install/* $fs
44 DEPENDS="librsvg"
45 }