wok view ttf-bitstream-vera/receipt @ rev 24751
cairo-gl: modified lookup-symbol.c for binutils-2.37
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 16 17:24:41 2022 +0100 (2022-03-16) |
parents | 86790a278e70 |
children | fff755dd0f58 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ttf-bitstream-vera"
4 VERSION="1.10"
5 CATEGORY="fonts"
6 SHORT_DESC="The ttf bitstream vera fonts."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="other"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://www.gnome.org/fonts/"
11 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/$VERSION/$TARBALL"
12 TAGS="font"
13 HOST_ARCH="i486 arm"
15 current_version()
16 {
17 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
18 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/share/fonts/truetype/ttf-bitstream-vera
25 cp -a $src/*.ttf $fs/usr/share/fonts/truetype/ttf-bitstream-vera
26 rm $fs/usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoB*
27 rm $fs/usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoIt*
28 }
30 # Pre and post install commands for Tazpkg.
31 post_install()
32 {
33 chroot "$1/" /usr/bin/fc-cache
34 }