wok-next annotate suru-icon-theme/receipt @ rev 21247
updated cyrus-imapd (2.4.17 -> 3.0.12)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Dec 05 16:28:27 2019 +0100 (2019-12-05) |
parents | |
children |
rev | line source |
---|---|
al@20960 | 1 # SliTaz package receipt v2. |
al@20960 | 2 |
al@20960 | 3 PACKAGE="suru-icon-theme" |
al@20960 | 4 VERSION="git20180831" |
al@20960 | 5 COMMIT="172098e" |
al@20960 | 6 CATEGORY="customization" |
al@20960 | 7 SHORT_DESC="Suru icon theme & cursors" |
al@20960 | 8 MAINTAINER="al.bobylev@gmail.com" |
al@20960 | 9 LICENSE="CCBYSA GPL3" |
al@20960 | 10 WEB_SITE="https://snwh.org/suru" |
al@20960 | 11 |
al@20960 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20960 | 13 WGET_URL="https://github.com/snwh/suru-icon-theme/archive/$COMMIT.tar.gz" |
al@20960 | 14 |
al@20960 | 15 BUILD_DEPENDS="meson ninja symlinks" |
al@20960 | 16 SPLIT="$PACKAGE-2x $PACKAGE" |
al@20960 | 17 |
al@20960 | 18 compile_rules() { |
al@20960 | 19 mkdir build |
al@20960 | 20 cd build |
al@20960 | 21 |
al@20960 | 22 meson-wrapper && |
al@20960 | 23 ninja && |
al@20960 | 24 ninja install || return 1 |
al@20960 | 25 |
al@20960 | 26 # Reduce installed size (44.3M -> 27.8M) and package size (6.3M -> 5.9M) |
al@20960 | 27 # using symlinks for repeated icons |
al@20960 | 28 $stuff/repeats2symlinks $install |
al@20960 | 29 } |
al@20960 | 30 |
al@20960 | 31 genpkg_rules() { |
al@20960 | 32 case $PACKAGE in |
al@20960 | 33 *-2x) |
al@20960 | 34 copy *@2x/ |
al@20960 | 35 CAT="customization|double density icons" |
al@20960 | 36 DEPENDS="suru-icon-theme" |
al@20960 | 37 ;; |
al@20960 | 38 *) |
al@20960 | 39 copy @std @rm |
al@20960 | 40 ;; |
al@20960 | 41 esac |
al@20960 | 42 } |