wok-6.x diff droid-font/receipt @ rev 7731
Add gnome-mime-data.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Dec 19 20:00:55 2010 +0000 (2010-12-19) |
parents | cdcf0ac21191 |
children | df1ebc56392f |
line diff
1.1 --- a/droid-font/receipt Sat Sep 25 15:19:07 2010 +0200 1.2 +++ b/droid-font/receipt Sun Dec 19 20:00:55 2010 +0000 1.3 @@ -2,27 +2,28 @@ 1.4 1.5 PACKAGE="droid-font" 1.6 VERSION="2010-04-09" 1.7 +GIT_HASH=22a27501a220e8f2ea5f9be3312bb0b64e32a71a 1.8 CATEGORY="x-window" 1.9 SHORT_DESC="Font family from Google's Android project" 1.10 MAINTAINER="devl547@gmail.com" 1.11 WEB_SITE="http://www.droidfonts.com/" 1.12 # Located in git repo, so we need a snapshot and some dirty hacks. 1.13 -GIT_URL="http://android.git.kernel.org/?p=platform/frameworks/base.git;f=data/fonts;a=snapshot;h=22a27501a220e8f2ea5f9be3312bb0b64e32a71a;sf=tgz" 1.14 +GIT_URL="http://android.git.kernel.org/?p=platform/frameworks/base.git;f=data/fonts;a=snapshot;h=$GIT_HASH;sf=tgz" 1.15 1.16 # Rules to configure and make the package. 1.17 compile_rules() 1.18 { 1.19 - [ -s $SOURCES_REPOSITORY/$PACKAGE-$VERSION.tgz ] || 1.20 - wget -O $SOURCES_REPOSITORY/$PACKAGE-$VERSION.tgz $GIT_URL 1.21 - tar xzf $SOURCES_REPOSITORY/$PACKAGE-$VERSION.tgz 1.22 + TARFILE=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tgz 1.23 + [ -s $TARFILE ] || wget -O $TARFILE $GIT_URL 1.24 + tar xzf $TARFILE 1.25 mv base $PACKAGE-$VERSION > /dev/null 1.26 - cd $src 1.27 - chmod -x *.ttf 1.28 } 1.29 1.30 # Rules to gen a SliTaz package suitable for Tazpkg. 1.31 genpkg_rules() 1.32 { 1.33 - mkdir -p $fs/usr/share/fonts/truetype/droid-font 1.34 - cp -a $src/*.ttf $fs/usr/share/fonts/truetype/droid-font 1.35 + dir=$fs/usr/share/fonts/truetype/droid-font 1.36 + mkdir -p $dir 1.37 + cp -a $src/*.ttf $dir 1.38 + chmod -x $dir/*.ttf 1.39 }