wok annotate ttf-mgopen/receipt @ rev 25650

Fix libwebkit gtk+ twice dep, thanks Ceel
author Stanislas Leduc <shann@slitaz.org>
date Fri Feb 02 20:44:00 2024 +0100 (4 months ago)
parents df63c4ce07f8
children
rev   line source
al@13848 1 # SliTaz package receipt.
al@13848 2
al@13848 3 PACKAGE="ttf-mgopen"
al@13848 4 VERSION="1.1"
al@19125 5 CATEGORY="fonts"
al@13848 6 SHORT_DESC="TrueType fonts containing glyphs for the Latin and Greek alphabet"
al@13848 7 MAINTAINER="al.bobylev@gmail.com"
pascal@15611 8 LICENSE="other"
pascal@20679 9 WEB_SITE="https://web.archive.org/web/20130719135032/http://pub.ellak.gr/fonts/mgopen/"
al@13848 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@25442 11 WGET_URL="http://ftp.dei.uc.pt/pub/linux/gentoo/distfiles/79/mgopen-$VERSION.tar.gz"
al@13848 12 TAGS="font ttf"
al@13848 13
pascal@25580 14 # What is the latest version available today?
pascal@25580 15 current_version()
pascal@25580 16 {
pascal@25580 17 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
pascal@25580 18 sed '/mgopen-/!d;s|.*mgopen-||;s|.tar.*||'
pascal@25580 19 }
pascal@25580 20
al@13848 21 # Rules to gen a SliTaz package suitable for Tazpkg.
al@13848 22 genpkg_rules()
al@13848 23 {
al@13848 24 TTFDIR=$fs/usr/share/fonts/TTF/MgOpen
al@13848 25 mkdir -p $TTFDIR
al@13848 26 install -m644 $src/*.ttf $TTFDIR
al@13848 27 }