wok-current view droid-font/receipt @ rev 24903
updated mercurial (5.3.1 -> 6.1.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 09 11:10:54 2022 +0100 (2022-04-09) |
parents | abe6b9e04ee5 |
children | 77ec99338524 |
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="http://android.git.kernel.org/?p=platform/frameworks/base.git;f=data/fonts;a=snapshot;h=$GIT_HASH;sf=tgz"
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 }