wok-current view TeXmacs-windows-fonts/receipt @ rev 24416
thunar: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 10 19:39:21 2022 +0000 (2022-02-10) |
parents | 617dbdeb6f7e |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="TeXmacs-windows-fonts"
4 VERSION="1.0"
5 CATEGORY="office"
6 SHORT_DESC="Fonts for using TeXmacs without TeX"
7 MAINTAINER="slitaz@leledy.fr"
8 LICENSE="LPPL"
9 TARBALL="$PACKAGE-$VERSION-noarch.tar.gz"
10 WEB_SITE="http://www.texmacs.org"
11 WGET_URL="http://ftp.texmacs.org/pub/TeXmacs/fonts/$TARBALL"
13 DEPENDS=""
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - ${WGET_URL%/*} 2>/dev/null | \
19 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\)-noarch.tar.*\".*|\\1|" | sort -Vr | sed q
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/share/TeXmacs/
26 cp -a $src $fs/usr/share/TeXmacs/fonts
27 }