wok-current annotate ttf-bitstream-vera/receipt @ rev 24906
updated minidlna (1.2.1 -> 1.3.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 09 14:37:52 2022 +0100 (2022-04-09) |
parents | 86790a278e70 |
children | fff755dd0f58 |
rev | line source |
---|---|
pankso@27 | 1 # SliTaz package receipt. |
pankso@27 | 2 |
pankso@27 | 3 PACKAGE="ttf-bitstream-vera" |
pankso@27 | 4 VERSION="1.10" |
al@19125 | 5 CATEGORY="fonts" |
pankso@27 | 6 SHORT_DESC="The ttf bitstream vera fonts." |
pankso@27 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15610 | 8 LICENSE="other" |
pankso@27 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20421 | 10 WEB_SITE="https://www.gnome.org/fonts/" |
pankso@27 | 11 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/$VERSION/$TARBALL" |
al@14742 | 12 TAGS="font" |
pankso@16313 | 13 HOST_ARCH="i486 arm" |
pankso@27 | 14 |
pascal@24111 | 15 current_version() |
pascal@24111 | 16 { |
pascal@24111 | 17 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24111 | 18 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24111 | 19 } |
pascal@24111 | 20 |
pankso@27 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@27 | 22 genpkg_rules() |
pankso@27 | 23 { |
al@18741 | 24 mkdir -p $fs/usr/share/fonts/truetype/ttf-bitstream-vera |
al@18741 | 25 cp -a $src/*.ttf $fs/usr/share/fonts/truetype/ttf-bitstream-vera |
al@18741 | 26 rm $fs/usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoB* |
al@18741 | 27 rm $fs/usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoIt* |
pankso@27 | 28 } |
pankso@27 | 29 |
pankso@27 | 30 # Pre and post install commands for Tazpkg. |
pankso@27 | 31 post_install() |
pankso@27 | 32 { |
al@18741 | 33 chroot "$1/" /usr/bin/fc-cache |
pankso@27 | 34 } |