diff options
Diffstat (limited to 'main/ttf-droid')
-rw-r--r-- | main/ttf-droid/APKBUILD | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/main/ttf-droid/APKBUILD b/main/ttf-droid/APKBUILD new file mode 100644 index 000000000..90a44e80b --- /dev/null +++ b/main/ttf-droid/APKBUILD @@ -0,0 +1,61 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=ttf-droid +_date="20110607" +pkgver=$_date +pkgrel=0 +pkgdesc="Droid font family" +url="http://android.git.kernel.org/?p=platform/frameworks/base.git;a=tree;f=data/fonts;hb=HEAD" +arch="noarch" +license="Apache 2.0" +depends= +makedepends= +install= +subpackages= +source="http://dev.alpinelinux.org/~ncopa/ttf-droid-$pkgver.tar.gz" +_ttf_source=" + http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob_plain;f=data/fonts/Ahem.ttf;hb=HEAD + http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob_plain;f=data/fonts/Clockopia.ttf;hb=HEAD + http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob_plain;f=data/fonts/DroidSans-Bold.ttf;hb=HEAD + http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob_plain;f=data/fonts/DroidSans.ttf;hb=HEAD + http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob_plain;f=data/fonts/DroidSansArabic.ttf;hb=HEAD + http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob_plain;f=data/fonts/DroidSansFallback.ttf;hb=HEAD + http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob_plain;f=data/fonts/DroidSansFallbackLegacy.ttf;hb=HEAD + http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob_plain;f=data/fonts/DroidSansHebrew.ttf;hb=HEAD + http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob_plain;f=data/fonts/DroidSansJapanese.ttf;hb=HEAD + http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob_plain;f=data/fonts/DroidSansMono.ttf;hb=HEAD + http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob_plain;f=data/fonts/DroidSansThai.ttf;hb=HEAD + http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob_plain;f=data/fonts/DroidSerif-Bold.ttf;hb=HEAD + http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob_plain;f=data/fonts/DroidSerif-BoldItalic.ttf;hb=HEAD + http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob_plain;f=data/fonts/DroidSerif-Italic.ttf;hb=HEAD + http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob_plain;f=data/fonts/DroidSerif-Regular.ttf;hb=HEAD + http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob_plain;f=data/fonts/MTLc3m.ttf;hb=HEAD + http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob_plain;f=data/fonts/MTLmr3m.ttf;hb=HEAD +" + +_ttfdir="$srcdir"/ttf-droid-$_date + +mkpkg() { + local i + mkdir -p "$srcdir"/ttf-droid-$_date + cd "$srcdir"/ttf-droid-$_date + + for i in $_ttf_source; do + curl -J -O $i || return 1 + done + cd .. + tar -czf ttf-droid-$_date.tar.gz ttf-droid-$_date +} + +build() { + return 0 +} + +package() +{ + cd "$_ttfdir" + install -d $pkgdir/usr/share/fonts/TTF/ + install -m644 *.ttf $pkgdir/usr/share/fonts/TTF/ +} + +md5sums="b40559c6d6f7e7f39a4e3e27a4fd84c0 ttf-droid-20110607.tar.gz" |