wok view ascii-patrol/receipt @ rev 25597

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 11:24:03 2023 +0000 (10 months ago)
parents 5ea0ce1cecc0
children
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 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 sh build.sh
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin
33 cp -a $src/asciipat $fs/usr/bin
34 }