wok-current annotate ascii-patrol/receipt @ rev 25444
Up firefox-official (104.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 04 18:56:05 2022 +0000 (2022-09-04) |
parents | 848e2021d813 |
children |
rev | line source |
---|---|
pascal@23971 | 1 # SliTaz package receipt. |
pascal@23971 | 2 |
pascal@23971 | 3 PACKAGE="ascii-patrol" |
pascal@23971 | 4 VERSION="1.7" |
pascal@23971 | 5 CATEGORY="games" |
pascal@23971 | 6 SHORT_DESC="ASCII clone of Moon Patrol" |
pascal@23971 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@23971 | 8 LICENSE="GPL3" |
pascal@23971 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@23971 | 10 WEB_SITE="https://github.com/msokalski/ascii-patrol" |
pascal@23971 | 11 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" |
pascal@23971 | 12 |
pascal@23973 | 13 DEPENDS="curl xorg-libX11 pulseaudio xorg-libXi" |
pascal@23973 | 14 BUILD_DEPENDS="xorg-libX11-dev pulseaudio-dev xorg-libXi-dev" |
pascal@23971 | 15 |
pascal@24055 | 16 current_version() |
pascal@24055 | 17 { |
pascal@24055 | 18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 19 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 20 } |
pascal@24055 | 21 |
pascal@23971 | 22 # Rules to configure and make the package. |
pascal@23971 | 23 compile_rules() |
pascal@23971 | 24 { |
pascal@23971 | 25 sh build.sh |
pascal@23971 | 26 } |
pascal@23971 | 27 |
pascal@23971 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@23971 | 29 genpkg_rules() |
pascal@23971 | 30 { |
pascal@23971 | 31 mkdir -p $fs/usr/bin |
pascal@23971 | 32 cp -a $src/asciipat $fs/usr/bin |
pascal@23971 | 33 } |