wok-6.x annotate vlgothic-fonts/receipt @ rev 25442
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 02 16:30:36 2022 +0000 (2022-09-02) |
parents | 6a5f19243cc6 |
children |
rev | line source |
---|---|
al@19612 | 1 # SliTaz package receipt. |
al@19612 | 2 |
al@19612 | 3 PACKAGE="vlgothic-fonts" |
Hans-G?nter@24314 | 4 VERSION="20200720" |
Hans-G?nter@24314 | 5 RELEASE="73361" |
al@19612 | 6 CATEGORY="fonts" |
Hans-G?nter@24314 | 7 SHORT_DESC="VL Gothic Font Family: Japanese TrueType fonts from Vine Linux." |
al@19612 | 8 MAINTAINER="al.bobylev@gmail.com" |
al@19612 | 9 LICENSE="custom" |
pascal@21735 | 10 WEB_SITE="https://web.archive.org/web/20190403102704/http://vlgothic.dicey.org/" |
al@19612 | 11 |
al@19612 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
Hans-G?nter@24314 | 13 WGET_URL="https://osdn.net/projects/vlgothic/downloads/$RELEASE/VLGothic-$VERSION.tar.xz" |
al@19612 | 14 |
pascal@24319 | 15 # What is the latest version available today? |
pascal@24319 | 16 current_version() |
pascal@24319 | 17 { |
pascal@24319 | 18 wget -O - https://osdn.net/projects/vlgothic/downloads/ 2>/dev/null | \ |
pascal@24319 | 19 sed '/Linux/!d;s|.*VLGothic-||;s|.tar.*||;q' |
pascal@24319 | 20 } |
pascal@24319 | 21 |
pascal@24319 | 22 # Busybox patches |
al@19612 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19612 | 24 genpkg_rules() |
al@19612 | 25 { |
al@19612 | 26 mkdir -p $fs/usr/share/fonts/TTF/vlgothic |
Hans-G?nter@24314 | 27 mkdir -p $fs/usr/share/licenses/$PACKAGE |
al@19612 | 28 |
Hans-G?nter@24314 | 29 cp $src/*.ttf $fs/usr/share/fonts/TTF/vlgothic |
Hans-G?nter@24314 | 30 cp -a $src/LICENSE* $fs/usr/share/licenses/$PACKAGE |
Hans-G?nter@24314 | 31 cp -a $src/README* $fs/usr/share/licenses/$PACKAGE |
al@19612 | 32 } |