wok-6.x annotate childsplay/receipt @ rev 25529
created recipe for neovim-0.8.3
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 25 14:14:14 2023 +0100 (21 months ago) |
parents | ad0bc3efbf37 |
children |
rev | line source |
---|---|
claudinei@3340 | 1 # SliTaz package receipt. |
claudinei@3340 | 2 |
claudinei@3340 | 3 PACKAGE="childsplay" |
Hans-G?nter@22595 | 4 VERSION="3.4" |
claudinei@3340 | 5 CATEGORY="games" |
claudinei@3340 | 6 SHORT_DESC="Python educational game." |
claudinei@3340 | 7 MAINTAINER="claudinei@slitaz.org" |
pascal@15022 | 8 LICENSE="GPL3" |
pascal@25510 | 9 WEB_SITE="https://sourceforge.net/projects/schoolsplay/" |
Hans-G?nter@20786 | 10 |
claudinei@3340 | 11 TARBALL="$PACKAGE-$VERSION.tgz" |
Hans-G?nter@22595 | 12 WGET_URL="$SF_MIRROR/schoolsplay/$TARBALL" |
pankso@10834 | 13 |
Hans-G?nter@22595 | 14 DEPENDS="libogg pygtk python python-pygame python-pysqlite python-sqlalchemy" |
jozee@4933 | 15 |
pascal@24373 | 16 # What is the latest version available today? |
pascal@24373 | 17 current_version() |
pascal@24373 | 18 { |
pascal@24373 | 19 wget -O - https://sourceforge.net/projects/schoolsplay/files 2>/dev/null | \ |
pascal@24373 | 20 sed '/scope="row/!d;/tgz/!d;s|.*/childsplay-||;s|.tgz.*||;q' |
pascal@24373 | 21 } |
pascal@24373 | 22 |
claudinei@3340 | 23 # Rules to configure and make the package. |
claudinei@3340 | 24 compile_rules() |
claudinei@3340 | 25 { |
Hans-G?nter@22595 | 26 mkdir -p $DESTDIR/usr/share/$PACKAGE |
Hans-G?nter@22595 | 27 |
Hans-G?nter@22595 | 28 cp -a $src/* $DESTDIR/usr/share/$PACKAGE |
Hans-G?nter@22595 | 29 mv $DESTDIR/usr/share/$PACKAGE/locale \ |
Hans-G?nter@22595 | 30 $DESTDIR/usr/share |
Hans-G?nter@22595 | 31 rm -rf $DESTDIR/usr/share/$PACKAGE/po |
claudinei@3340 | 32 } |
claudinei@3340 | 33 |
claudinei@3340 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3340 | 35 genpkg_rules() |
claudinei@3340 | 36 { |
pankso@16570 | 37 mkdir -p $fs/usr/games |
Hans-G?nter@22595 | 38 |
Hans-G?nter@22595 | 39 cp $stuff/$PACKAGE $fs/usr/games |
Hans-G?nter@22595 | 40 cp -a $install/* $fs |
claudinei@3340 | 41 } |