diff options
author | James Meyer <james.meyer@operamail.com> | 2012-11-26 14:58:38 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-11-26 14:58:38 (GMT) |
commit | 35848eb77301fe20bc9808caade9d2f3a0e966ba (patch) | |
tree | be3572b2b6aaf19c2ba29d33710bcf6f81058ab1 /abs/extra/ttf-droid | |
parent | 48b29ffdcc0604e7efae8ffae80c401aa8540f7e (diff) | |
download | linhes_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')
-rw-r--r-- | abs/extra/ttf-droid/PKGBUILD | 26 | ||||
-rw-r--r-- | abs/extra/ttf-droid/kufi-fontconfig.conf | 16 | ||||
-rw-r--r-- | abs/extra/ttf-droid/sans-fontconfig.conf | 310 | ||||
-rw-r--r-- | abs/extra/ttf-droid/sans-mono-fontconfig.conf | 16 | ||||
-rw-r--r-- | abs/extra/ttf-droid/serif-fontconfig.conf | 64 |
5 files changed, 426 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') diff --git a/abs/extra/ttf-droid/kufi-fontconfig.conf b/abs/extra/ttf-droid/kufi-fontconfig.conf new file mode 100644 index 0000000..4d368eb --- /dev/null +++ b/abs/extra/ttf-droid/kufi-fontconfig.conf @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> + <alias> + <family>fantasy</family> + <prefer> + <family>Droid Arabic Kufi</family> + </prefer> + </alias> + <alias> + <family>Droid Arabic Kufi</family> + <default> + <family>Droid Sans</family> + </default> + </alias> +</fontconfig> diff --git a/abs/extra/ttf-droid/sans-fontconfig.conf b/abs/extra/ttf-droid/sans-fontconfig.conf new file mode 100644 index 0000000..dc9845c --- /dev/null +++ b/abs/extra/ttf-droid/sans-fontconfig.conf @@ -0,0 +1,310 @@ +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> + <match target="scan"> + <test name="family"> + <string>Droid Sans</string> + </test> + <edit name="fontversion"> + <int>12</int> + </edit> + </match> + <match target="scan"> + <test name="fullname"> + <string>Droid Sans Hebrew</string> + </test> + <edit name="family"> + <string>Droid Sans</string> + </edit> + <edit name="fullname"> + <string>Droid Sans</string> + </edit> + <edit name="fontversion"> + <int>11</int> + </edit> + </match> + <match target="scan"> + <test name="fullname"> + <string>Droid Sans Hebrew Bold</string> + </test> + <edit name="family"> + <string>Droid Sans</string> + </edit> + <edit name="fullname"> + <string>Droid Sans Bold</string> + </edit> + <edit name="fontversion"> + <int>11</int> + </edit> + </match> + <match target="scan"> + <test name="fullname"> + <string>Droid Sans Armenian</string> + </test> + <edit name="family"> + <string>Droid Sans</string> + </edit> + <edit name="fullname"> + <string>Droid Sans</string> + </edit> + <edit name="fontversion"> + <int>10</int> + </edit> + </match> + <match target="scan"> + <test name="fullname"> + <string>Droid Sans Georgian</string> + </test> + <edit name="family"> + <string>Droid Sans</string> + </edit> + <edit name="fullname"> + <string>Droid Sans</string> + </edit> + <edit name="fontversion"> + <int>9</int> + </edit> + </match> + <match target="scan"> + <test name="fullname"> + <string>Droid Sans Ethiopic</string> + </test> + <edit name="family"> + <string>Droid Sans</string> + </edit> + <edit name="fullname"> + <string>Droid Sans</string> + </edit> + <edit name="fontversion"> + <int>8</int> + </edit> + </match> + <match target="scan"> + <test name="fullname"> + <string>Droid Sans Ethiopic Bold</string> + </test> + <edit name="family"> + <string>Droid Sans</string> + </edit> + <edit name="fullname"> + <string>Droid Sans Bold</string> + </edit> + <edit name="fontversion"> + <int>8</int> + </edit> + </match> + <match target="scan"> + <test name="fullname"> + <string>Droid Sans Arabic</string> + </test> + <edit name="family"> + <string>Droid Sans</string> + </edit> + <edit name="fullname"> + <string>Droid Sans</string> + </edit> + <edit name="fontversion"> + <int>7</int> + </edit> + </match> + <match target="scan"> + <test name="fullname"> + <string>Droid Sans Devanagari</string> + </test> + <edit name="family"> + <string>Droid Sans</string> + </edit> + <edit name="fullname"> + <string>Droid Sans</string> + </edit> + <edit name="fontversion"> + <int>6</int> + </edit> + </match> + <match target="scan"> + <test name="fullname"> + <string>Droid Sans Tamil</string> + </test> + <edit name="family"> + <string>Droid Sans</string> + </edit> + <edit name="fullname"> + <string>Droid Sans</string> + </edit> + <edit name="fontversion"> + <int>5</int> + </edit> + </match> + <match target="scan"> + <test name="fullname"> + <string>Droid Sans Tamil Bold</string> + </test> + <edit name="family"> + <string>Droid Sans</string> + </edit> + <edit name="fullname"> + <string>Droid Sans Bold</string> + </edit> + <edit name="fontversion"> + <int>5</int> + </edit> + </match> + <match target="scan"> + <test name="fullname"> + <string>Droid Sans Thai</string> + </test> + <edit name="family"> + <string>Droid Sans</string> + </edit> + <edit name="fullname"> + <string>Droid Sans</string> + </edit> + <edit name="fontversion"> + <int>4</int> + </edit> + </match> + <match target="scan"> + <test name="lang" compare="not_eq"> + <string>zh-cn</string> + </test> + <test name="lang" compare="not_eq"> + <string>zh-sg</string> + </test> + <test name="lang" compare="not_eq"> + <string>zh-hk</string> + </test> + <test name="lang" compare="not_eq"> + <string>zh-tw</string> + </test> + <test name="lang" compare="not_eq"> + <string>zh</string> + </test> + <test name="fullname"> + <string>Droid Sans Japanese</string> + </test> + <edit name="family"> + <string>Droid Sans</string> + </edit> + <edit name="fullname"> + <string>Droid Sans</string> + </edit> + <edit name="fontversion"> + <int>3</int> + </edit> + </match> + <match target="scan"> + <test name="fullname"> + <string>Droid Sans Fallback</string> + </test> + <edit name="family"> + <string>Droid Sans</string> + </edit> + <edit name="fullname"> + <string>Droid Sans</string> + </edit> + <edit name="fontversion"> + <int>2</int> + </edit> + </match> + <match target="scan"> + <test name="lang" compare="eq"> + <string>zh-cn</string> + </test> + <test name="lang" compare="eq"> + <string>zh-sg</string> + </test> + <test name="lang" compare="eq"> + <string>zh-hk</string> + </test> + <test name="lang" compare="eq"> + <string>zh-tw</string> + </test> + <test name="lang" compare="eq"> + <string>zh</string> + </test> + <test name="fullname"> + <string>Droid Sans Japanese</string> + </test> + <edit name="family"> + <string>Droid Sans</string> + </edit> + <edit name="fullname"> + <string>Droid Sans</string> + </edit> + <edit name="fontversion"> + <int>1</int> + </edit> + </match> + <alias binding="same"> + <family>Droid Sans Arabic</family> + <accept> + <family>Droid Sans</family> + </accept> + </alias> + <alias binding="same"> + <family>Droid Sans Armenian</family> + <accept> + <family>Droid Sans</family> + </accept> + </alias> + <alias binding="same"> + <family>Droid Sans Devanagari</family> + <accept> + <family>Droid Sans</family> + </accept> + </alias> + <alias binding="same"> + <family>Droid Sans Ethiopic</family> + <accept> + <family>Droid Sans</family> + </accept> + </alias> + <alias binding="same"> + <family>Droid Sans Fallback</family> + <accept> + <family>Droid Sans</family> + </accept> + </alias> + <alias binding="same"> + <family>Droid Sans Georgian</family> + <accept> + <family>Droid Sans</family> + </accept> + </alias> + <alias binding="same"> + <family>Droid Sans Hebrew</family> + <accept> + <family>Droid Sans</family> + </accept> + </alias> + <alias binding="same"> + <family>Droid Sans Japanese</family> + <accept> + <family>Droid Sans</family> + </accept> + </alias> + <alias binding="same"> + <family>Droid Sans Tamil</family> + <accept> + <family>Droid Sans</family> + </accept> + </alias> + <alias binding="same"> + <family>Droid Sans Thai</family> + <accept> + <family>Droid Sans</family> + </accept> + </alias> + <alias> + <family>sans-serif</family> + <prefer> + <family>Droid Sans</family> + </prefer> + </alias> + <alias> + <family>Droid Sans</family> + <default> + <family>sans-serif</family> + </default> + </alias> +</fontconfig> diff --git a/abs/extra/ttf-droid/sans-mono-fontconfig.conf b/abs/extra/ttf-droid/sans-mono-fontconfig.conf new file mode 100644 index 0000000..1cf8bbc --- /dev/null +++ b/abs/extra/ttf-droid/sans-mono-fontconfig.conf @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> + <alias> + <family>monospace</family> + <prefer> + <family>Droid Sans Mono</family> + </prefer> + </alias> + <alias> + <family>Droid Sans Mono</family> + <default> + <family>monospace</family> + </default> + </alias> +</fontconfig> diff --git a/abs/extra/ttf-droid/serif-fontconfig.conf b/abs/extra/ttf-droid/serif-fontconfig.conf new file mode 100644 index 0000000..368f361 --- /dev/null +++ b/abs/extra/ttf-droid/serif-fontconfig.conf @@ -0,0 +1,64 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> + <match target="scan"> + <test name="family"> + <string>Droid Serif</string> + </test> + <edit name="fontversion"> + <int>2</int> + </edit> + </match> + <match target="scan"> + <test name="fullname"> + <string>Droid Arabic Naskh</string> + </test> + <edit name="family"> + <string>Droid Serif</string> + </edit> + <edit name="fullname"> + <string>Droid Serif</string> + </edit> + <edit name="fontversion"> + <int>1</int> + </edit> + </match> + <match target="scan"> + <test name="fullname"> + <string>Droid Arabic Naskh Bold</string> + </test> + <edit name="family"> + <string>Droid Serif</string> + </edit> + <edit name="fullname"> + <string>Droid Serif Bold</string> + </edit> + <edit name="fontversion"> + <int>1</int> + </edit> + </match> + <alias binding="same"> + <family>Droid Arabic Naskh</family> + <accept> + <family>Droid Serif</family> + </accept> + </alias> + <alias binding="same"> + <family>Droid Naskh Shift Alt</family> + <accept> + <family>Droid Serif</family> + </accept> + </alias> + <alias> + <family>serif</family> + <prefer> + <family>Droid Serif</family> + </prefer> + </alias> + <alias> + <family>Droid Serif</family> + <default> + <family>serif</family> + </default> + </alias> +</fontconfig> |