wok-next annotate paper-icon-theme/receipt @ rev 21131

Update fdupes (1.6.1), jdupes (1.11.1), paper-icon-theme (1.5.0)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jan 19 14:59:09 2019 +0200 (2019-01-19)
parents d457c4e37c1b
children
rev   line source
al@19841 1 # SliTaz package receipt v2.
al@19013 2
al@19013 3 PACKAGE="paper-icon-theme"
al@21131 4 VERSION="1.5.0"
al@19126 5 CATEGORY="customization"
al@19013 6 SHORT_DESC="Simple and modern icon theme with material design influences"
al@19013 7 MAINTAINER="al.bobylev@gmail.com"
al@19479 8 LICENSE="CC-BY-SA-4"
al@21041 9 WEB_SITE="https://snwh.org/paper"
al@21131 10 HOST_ARCH="any"
al@19681 11
al@19109 12 TARBALL="$PACKAGE-$COMMIT.tar.gz"
al@21131 13 WGET_URL="https://github.com/snwh/paper-icon-theme/archive/v.$VERSION.tar.gz"
al@21131 14 TARBALL_SHA1="1a91245113971687a12f8fb2bc2e9ceae1e705f8"
al@19013 15
al@21131 16 BUILD_DEPENDS="meson ninja jdupes"
al@21131 17 SPLIT="$PACKAGE-huge $PACKAGE-hidpi $PACKAGE"
al@21131 18
al@21131 19 COPY_huge="512x512/"
al@21131 20 COPY_hidpi="*@2x/"
al@21131 21
al@21131 22 CAT_huge="customization|512x512 px"
al@21131 23 CAT_hidpi="customization|for HiDPI screens"
al@21131 24
al@21131 25 DEPENDS_huge="$PACKAGE"
al@21131 26 DEPENDS_hidpi="$PACKAGE"
al@21131 27 DEPENDS_std=" "
al@19013 28
al@20443 29 compile_rules() {
al@21131 30 # Lots of files incorrectly have executable permissions.
al@21131 31 # Remove all such permissions, then restore the few that are correct.
al@21131 32 busybox find $src -type f -perm +111 ! -name '*.py' -exec chmod a-x '{}' \;
al@19109 33
al@21131 34 mkdir build
al@21131 35 cd build
al@19479 36
al@21131 37 meson-wrapper &&
al@21131 38 ninja &&
al@21131 39 ninja install || return 1
al@21131 40
al@21131 41 jdupes -l -R $install/usr/share/icons/
al@21131 42
al@21131 43 cd $src
al@21131 44 cook_pick_docs AUTHORS COPYING LICENSE README.md
al@19013 45 }