wok-next view droid-font/receipt @ rev 20461

Respect "install" phase (src -> install). Cook will fail if install dir empty (and it's by design).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Mar 04 04:56:40 2018 +0200 (2018-03-04)
parents d1570adae0ba
children d43bf7aae921
line source
1 # SliTaz package receipt v2.
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="http://www.droidfonts.com/"
12 # Located in git repo, so we need a snapshot and some dirty hacks.
13 TARBALL="$PACKAGE-$VERSION.tgz"
14 WGET_URL="http://android.git.kernel.org/?p=platform/frameworks/base.git;f=data/fonts;a=snapshot;h=$GIT_HASH;sf=tgz"
16 BUILD_DEPENDS="wget"
18 compile_rules() {
19 dir=$install/usr/share/fonts/truetype/droid-font
20 mkdir -p $dir
21 cp $src/*.ttf $dir
22 }
24 genpkg_rules() {
25 copy @std
26 }