aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-06-07 19:27:48 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-06-07 19:28:46 +0000
commit91378b38c3a78e8c20c2b789020328742e998469 (patch)
tree45be2071559b7f6904b00160583e525b1421ca03 /testing
parenta9054df604b2383ac13702905d32115887782d8e (diff)
downloadaports-91378b38c3a78e8c20c2b789020328742e998469.tar.bz2
aports-91378b38c3a78e8c20c2b789020328742e998469.tar.xz
testing/ttf-droid: new aport
Droid font family http://android.git.kernel.org/?p=platform/frameworks/base.git;a=tree;f=data/fonts;hb=HEAD
Diffstat (limited to 'testing')
-rw-r--r--testing/ttf-droid/APKBUILD61
1 files changed, 61 insertions, 0 deletions
diff --git a/testing/ttf-droid/APKBUILD b/testing/ttf-droid/APKBUILD
new file mode 100644
index 0000000000..90a44e80be
--- /dev/null
+++ b/testing/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"