wok-next diff suru-icon-theme/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/suru-icon-theme/receipt Sat Nov 21 14:32:44 2020 +0100 1.3 @@ -0,0 +1,42 @@ 1.4 +# SliTaz package receipt v2. 1.5 + 1.6 +PACKAGE="suru-icon-theme" 1.7 +VERSION="git20180831" 1.8 +COMMIT="172098e" 1.9 +CATEGORY="customization" 1.10 +SHORT_DESC="Suru icon theme & cursors" 1.11 +MAINTAINER="al.bobylev@gmail.com" 1.12 +LICENSE="CCBYSA GPL3" 1.13 +WEB_SITE="https://snwh.org/suru" 1.14 + 1.15 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 +WGET_URL="https://github.com/snwh/suru-icon-theme/archive/$COMMIT.tar.gz" 1.17 + 1.18 +BUILD_DEPENDS="meson ninja symlinks" 1.19 +SPLIT="$PACKAGE-2x $PACKAGE" 1.20 + 1.21 +compile_rules() { 1.22 + mkdir build 1.23 + cd build 1.24 + 1.25 + meson-wrapper && 1.26 + ninja && 1.27 + ninja install || return 1 1.28 + 1.29 + # Reduce installed size (44.3M -> 27.8M) and package size (6.3M -> 5.9M) 1.30 + # using symlinks for repeated icons 1.31 + $stuff/repeats2symlinks $install 1.32 +} 1.33 + 1.34 +genpkg_rules() { 1.35 + case $PACKAGE in 1.36 + *-2x) 1.37 + copy *@2x/ 1.38 + CAT="customization|double density icons" 1.39 + DEPENDS="suru-icon-theme" 1.40 + ;; 1.41 + *) 1.42 + copy @std @rm 1.43 + ;; 1.44 + esac 1.45 +}