
Receipt for package "paper-icon-theme"
# SliTaz package receipt. PACKAGE="paper-icon-theme" VERSION="1.5.0" CATEGORY="customization" SHORT_DESC="Simple and modern icon theme with material design influences." MAINTAINER="al.bobylev@gmail.com" LICENSE="CC-BY-SA-4" WEB_SITE="https://snwh.org/paper/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/snwh/$PACKAGE/archive/v.$VERSION/$TARBALL" DEPENDS="librsvg" BUILD_DEPENDS="meson ninja svgcleaner" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ sed '/tag\//!d;s|.*tag/v*\.*||;s|".*||;q' } # Rules to configure and make the package. compile_rules() { meson . _build && ninja -C _build && ninja -C _build install # remove hdpi icons, and huge sizes it="$install/usr/share/icons/Paper/index.theme" for i in 8x8@2x 16x16@2x 24x24@2x 32x32@2x 48x48@2x 512x512@2x 512x512 do echo "Remove $i" rm -r $install/usr/share/icons/Paper/$i sed -i "s|$i[^,]*,||g" $it sed -i "/^\[$i/,/^\[/{/^\[/b;d}" $it sed -i "/^\[$i/d" $it done sed -i '/HiDPi/,$d' $it # remove duplicates (keep <name>.png, remove <name>.svg) for svg in $(find $install -name '*.svg') do if [ -e "${svg%svg}png" ]; then echo "Remove duplicate: ${svg#*Paper/}" rm "$svg" fi done } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/* $fs }
6011 packages and 861692 files in cooking database (Sun Apr 20 00:48:06 2025)