wok-current annotate ttf-bitstream-vera/receipt @ rev 25707

Fix miss file need for grub2-efi install (kernel.img, modinfo.sh)
author Stanislas Leduc <shann@slitaz.org>
date Thu May 30 20:14:23 2024 +0000 (5 months ago)
parents 6831608a1b2a
children
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@24909 10 WEB_SITE="https://apps.gnome.org/en/app/org.gnome.font-viewer/"
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 }