aboutsummaryrefslogtreecommitdiffstats
path: root/main/ttf-droid
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-10-05 17:58:49 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-10-05 17:58:49 +0000
commit1f5301779a334bc3cb7ab292dfd9dacbede43d13 (patch)
tree774811792cbe02159ef0ab8dc7746a7a385a3978 /main/ttf-droid
parent7f828c0067a3daef3eb33a201c30ed125cf95a3c (diff)
downloadaports-1f5301779a334bc3cb7ab292dfd9dacbede43d13.tar.bz2
aports-1f5301779a334bc3cb7ab292dfd9dacbede43d13.tar.xz
main/ttf-droid: moved from testing
Diffstat (limited to 'main/ttf-droid')
-rw-r--r--main/ttf-droid/APKBUILD61
1 files changed, 61 insertions, 0 deletions
diff --git a/main/ttf-droid/APKBUILD b/main/ttf-droid/APKBUILD
new file mode 100644
index 0000000000..90a44e80be
--- /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"