wok annotate puzzles/receipt @ rev 24318

updated adwaita-icon-theme (3.34.3 -> 41.0)
author Hans-G?nter Theisgen
date Tue Jan 25 14:40:52 2022 +0100 (2022-01-25)
parents dfd3edf778f9
children 7c0170dd3ecc
rev   line source
erjo@6070 1 # SliTaz package receipt.
erjo@6070 2
erjo@6070 3 PACKAGE="puzzles"
Hans-G?nter@21732 4 VERSION="20190415"
erjo@6070 5 CATEGORY="games"
erjo@6070 6 SHORT_DESC="Misc puzzles games."
erjo@6070 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15376 8 LICENSE="MIT"
pascal@20669 9 WEB_SITE="https://www.chiark.greenend.org.uk/~sgtatham/puzzles/"
Hans-G?nter@21731 10
Hans-G?nter@21731 11 TARBALL="$PACKAGE-$VERSION.e2135d5.tar.gz"
erjo@6070 12 WGET_URL="${WEB_SITE}$TARBALL"
pascal@15136 13
Hans-G?nter@21731 14 DEPENDS="cairo gtk+ libxcb xorg-libXrandr"
Hans-G?nter@21731 15 BUILD_DEPENDS="file gtk+-dev"
erjo@6070 16
erjo@6070 17 # Rules to configure and make the package.
erjo@6070 18 compile_rules()
erjo@6070 19 {
pascal@15136 20 mkdir -p $DESTDIR/usr/local/games 2> /dev/null
Hans-G?nter@21731 21 ./configure \
Hans-G?nter@21731 22 --prefix=/usr \
pascal@20586 23 $CONFIGURE_ARGS &&
erjo@6070 24 make &&
pascal@15136 25 make DESTDIR=$DESTDIR install
erjo@6070 26 }
erjo@6070 27
erjo@6070 28 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@6070 29 genpkg_rules()
erjo@6070 30 {
Hans-G?nter@21731 31 mkdir -p $fs/usr/share/pixmaps
Hans-G?nter@21731 32 mkdir -p $fs/usr/share/applications
Hans-G?nter@21731 33
Hans-G?nter@21731 34 cp -a $install/usr/* $fs/
erjo@6070 35
erjo@6070 36 for img in $(ls $src/icons/*16d24*)
erjo@6070 37 do
erjo@6070 38 cp $img $fs/usr/share/pixmaps/$(basename $img -16d24.png).png
erjo@6070 39 done
erjo@6070 40
Hans-G?nter@21731 41 cp -a $stuff/*.desktop $fs/usr/share/applications
erjo@6070 42 }