wok view ascii-patrol/receipt @ rev 25037

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