summaryrefslogtreecommitdiffstats
path: root/abs/extra/ttf-droid/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-11-26 14:58:38 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-11-26 14:58:38 (GMT)
commit35848eb77301fe20bc9808caade9d2f3a0e966ba (patch)
treebe3572b2b6aaf19c2ba29d33710bcf6f81058ab1 /abs/extra/ttf-droid/PKGBUILD
parent48b29ffdcc0604e7efae8ffae80c401aa8540f7e (diff)
downloadlinhes_pkgbuild-35848eb77301fe20bc9808caade9d2f3a0e966ba.zip
linhes_pkgbuild-35848eb77301fe20bc9808caade9d2f3a0e966ba.tar.gz
linhes_pkgbuild-35848eb77301fe20bc9808caade9d2f3a0e966ba.tar.bz2
added some ttf fonts:
terminus-font ttf-droid ttf-liberation
Diffstat (limited to 'abs/extra/ttf-droid/PKGBUILD')
-rw-r--r--abs/extra/ttf-droid/PKGBUILD26
1 files changed, 20 insertions, 6 deletions
diff --git a/abs/extra/ttf-droid/PKGBUILD b/abs/extra/ttf-droid/PKGBUILD
index 2df7e2b..3baa9d6 100644
--- a/abs/extra/ttf-droid/PKGBUILD
+++ b/abs/extra/ttf-droid/PKGBUILD
@@ -2,21 +2,35 @@
# Contributor: Urs Wolfer <uwolfer @ fwo.ch>
pkgname=ttf-droid
-pkgver=20110417
-pkgrel=2
-pkgdesc="A font created by Ascender Corporation for use by the Open Handset Alliance platform, Android."
+pkgver=20121017
+pkgrel=1
+pkgdesc="General-purpose fonts released by Google as part of Android"
arch=('any')
license=('apache')
url="http://code.google.com/android/"
depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
install=$pkgname.install
-source=('ftp://ftp.archlinux.org/other/community/ttf-droid/ttf-droid.tar.xz')
-md5sums=('f0dffb54269504a0fdb2c4fe394322ee')
+source=('ftp://ftp.archlinux.org/other/community/ttf-droid/ttf-droid-20121017.tar.xz' 'serif-fontconfig.conf' 'sans-fontconfig.conf' 'sans-mono-fontconfig.conf' 'kufi-fontconfig.conf' )
+md5sums=('0fa20eb63d7d05b23be955777bb52a5d')
package()
{
- cd $srcdir/ttf-droid
+ # Install fonts
+ cd $srcdir/google-droid-fonts-$pkgver
install -d $pkgdir/usr/share/fonts/TTF/
install -m644 *.ttf $pkgdir/usr/share/fonts/TTF/
+
+ # Install fontconfig
+ cd $srcdir
+ install -d $pkgdir/etc/fonts/conf.avail/
+ install -m644 sans-fontconfig.conf $pkgdir/etc/fonts/conf.avail/65-$pkgname-sans-fontconfig.conf
+ install -m644 sans-mono-fontconfig.conf $pkgdir/etc/fonts/conf.avail/60-$pkgname-sans-mono-fontconfig.conf
+ install -m644 serif-fontconfig.conf $pkgdir/etc/fonts/conf.avail/65-$pkgname-serif-fontconfig.conf
+ install -m644 kufi-fontconfig.conf $pkgdir/etc/fonts/conf.avail/65-$pkgname-kufi-fontconfig.conf
}
+md5sums=('0fa20eb63d7d05b23be955777bb52a5d'
+ '7db18cf9df70ee41fbab444c80117ec6'
+ '61f59063f84bd1331a91e21ebf86d43d'
+ '7d7787d92e7b5089558a6d68c99813e3'
+ '954a340fc7cb2846826a97d2b752501d')