wok-current view leocad-pieces/receipt @ rev 25444
Up firefox-official (104.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 04 18:56:05 2022 +0000 (23 months ago) |
parents | 4ce52a0b72fd |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="leocad-pieces"
4 VERSION="4806"
5 CATEGORY="games"
6 SHORT_DESC="Pieces library for LeoCAD."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="GPL2"
9 SOURCE="pieces"
10 TARBALL="$SOURCE-$VERSION.zip"
11 WEB_SITE="https://www.leocad.org/"
12 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/leocad/$TARBALL"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - https://github.com/leozide/leocad/releases 2>/dev/null | \
18 sed '/Library/!d;s|.*Library[^0-9]*||;s|.zip.*||;q'
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/share/leocad
25 cp -a $src/* $fs/usr/share/leocad
26 }