wok view droid-font/receipt @ rev 25372
updated trash-cli (0.17.1.14 -> 0.22.4.16)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 29 14:58:56 2022 +0100 (2022-07-29) |
parents | b01314c762e9 |
children | a66f312c374b |
line source
1 # SliTaz package receipt.
3 PACKAGE="droid-font"
4 VERSION="2010-04-09"
5 GIT_HASH=22a27501a220e8f2ea5f9be3312bb0b64e32a71a
6 CATEGORY="fonts"
7 SHORT_DESC="Font family from Google's Android project"
8 MAINTAINER="devl547@gmail.com"
9 LICENSE="Apache"
10 WEB_SITE="https://android.googlesource.com/"
11 # Located in git repo, so we need a snapshot and some dirty hacks.
12 TARBALL="$PACKAGE-$VERSION.tgz"
13 WGET_URL="https://download.tuxfamily.org/slitaz/sources/packages-cooking/${TARBALL:0:1}/$TARBALL"
15 BUILD_DEPENDS="wget"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/aosp-mirror/platform_frameworks_base/commits/master 2>/dev/null | \
21 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y-%m-%d -d
22 }
24 # Rules to configure and make the package.
25 # Keep an empty compile_rules to make tazwok install build depends.
26 compile_rules()
27 {
28 :
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 dir=$fs/usr/share/fonts/truetype/droid-font
35 mkdir -p $dir
36 cp -a $src/*.ttf $dir
37 chmod -x $dir/*.ttf
38 }