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 | |
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')
-rw-r--r-- | abs/extra/terminus-font/PKGBUILD | 38 | ||||
-rw-r--r-- | abs/extra/terminus-font/install.proto | 27 | ||||
-rw-r--r-- | abs/extra/terminus-font/terminus-font.install | 11 | ||||
-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 | ||||
-rw-r--r-- | abs/extra/ttf-liberation/30-0-liberation-mono.conf | 18 | ||||
-rw-r--r-- | abs/extra/ttf-liberation/30-0-liberation-sans.conf | 18 | ||||
-rw-r--r-- | abs/extra/ttf-liberation/30-0-liberation-serif.conf | 18 | ||||
-rw-r--r-- | abs/extra/ttf-liberation/PKGBUILD | 26 |
12 files changed, 527 insertions, 61 deletions
diff --git a/abs/extra/terminus-font/PKGBUILD b/abs/extra/terminus-font/PKGBUILD index c3be90c..17201d3 100644 --- a/abs/extra/terminus-font/PKGBUILD +++ b/abs/extra/terminus-font/PKGBUILD @@ -1,20 +1,32 @@ +# $Id: PKGBUILD 68042 2012-03-17 11:38:36Z giovanni $ # Maintainer: Vesa Kaihlavirta <vegai@iki.fi> -# Contributor: Kristoffer Fossgård <kfs1@online.no> +# Contributor: Kristoffer FossgÃ¥rd <kfs1@online.no> + pkgname=terminus-font -pkgver=4.30 -pkgrel=1 +pkgver=4.36 +pkgrel=2 pkgdesc="A superb, monospace bitmap font (for X11 and console)" -depends=(xorg-fonts-encodings xorg-fonts-alias xorg-font-utils fontconfig) -replaces=(xserver-terminus-fonts) -arch=(i686 x86_64) -source=(http://www.is-vn.bg/hamster/$pkgname-$pkgver.tar.gz) -url="http://www.is-vn.bg/hamster/jimmy-en.html" +arch=('any') +url="http://sourceforge.net/projects/terminus-font/" +license=('GPL2' 'custom:OFL') +depends=('xorg-fonts-encodings' 'xorg-fonts-alias' 'xorg-font-utils' 'fontconfig') +replaces=('xserver-terminus-fonts') install=terminus-font.install -license=('GPL-2') +source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz") +md5sums=('de925a7ee7351581033d4b615dcb1eb1') build() { - cd $startdir/src/$pkgname-$pkgver - ./configure --prefix=/usr --x11dir=/usr/share/fonts/local/ --psfdir=/usr/share/kbd/consolefonts/ - make DESTDIR=$startdir/pkg install + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --prefix=/usr \ + --x11dir=/usr/share/fonts/local \ + --psfdir=/usr/share/kbd/consolefonts +} +package() +{ + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install + install -Dm644 "${srcdir}/${pkgname}-${pkgver}/OFL.TXT" \ + "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } -md5sums=('6f8bd95b593851f9f5c210a9d33cbbf1') diff --git a/abs/extra/terminus-font/install.proto b/abs/extra/terminus-font/install.proto deleted file mode 100644 index 37f0b55..0000000 --- a/abs/extra/terminus-font/install.proto +++ /dev/null @@ -1,27 +0,0 @@ -# arg 1: the new package version - post_install() { - echo -n "Updating font cache... " - /usr/bin/fc-cache - cd /usr/share/fonts/local - /usr/bin/mkfontdir - /usr/bin/mkfontscale -# cp ../encodings/encodings.dir ./encodings.dir - echo "done." - echo "Note that local fonts are now (with xorg-7.0) in /usr/share/fonts/local/" - } - -# # arg 1: the new package version -# # arg 2: the old package version - post_upgrade() { - post_install $1 - } -# -# # arg 1: the old package version - post_remove() { - /usr/bin/fc-cache - } - -op=$1 -shift - -$op $* diff --git a/abs/extra/terminus-font/terminus-font.install b/abs/extra/terminus-font/terminus-font.install index e17fb4f..6b194dc 100644 --- a/abs/extra/terminus-font/terminus-font.install +++ b/abs/extra/terminus-font/terminus-font.install @@ -1,4 +1,3 @@ -# arg 1: the new package version post_install() { echo -n "Updating font cache... " fc-cache -f > /dev/null @@ -8,14 +7,10 @@ post_install() { echo "Note: terminus-font is in /usr/share/fonts/local/" } -# # arg 1: the new package version -# # arg 2: the old package version post_upgrade() { - post_install $1 + post_install } -# -# # arg 1: the old package version + post_remove() { - post_install $1 + post_install } - 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> diff --git a/abs/extra/ttf-liberation/30-0-liberation-mono.conf b/abs/extra/ttf-liberation/30-0-liberation-mono.conf new file mode 100644 index 0000000..91b2f57 --- /dev/null +++ b/abs/extra/ttf-liberation/30-0-liberation-mono.conf @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE fontconfig SYSTEM "../fonts.dtd"> +<fontconfig> + <!-- Microsoft --> + <alias binding="same"> + <family>Courier New</family> + <accept> + <family>Liberation Mono</family> + </accept> + </alias> + <alias binding="same"> + <family>Liberation Mono</family> + <default> + <family>Courier New</family> + </default> + </alias> +</fontconfig> + diff --git a/abs/extra/ttf-liberation/30-0-liberation-sans.conf b/abs/extra/ttf-liberation/30-0-liberation-sans.conf new file mode 100644 index 0000000..ab592b7 --- /dev/null +++ b/abs/extra/ttf-liberation/30-0-liberation-sans.conf @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE fontconfig SYSTEM "../fonts.dtd"> +<fontconfig> + <!-- Microsoft --> + <alias binding="same"> + <family>Arial</family> + <accept> + <family>Liberation Sans</family> + </accept> + </alias> + <alias binding="same"> + <family>Liberation Sans</family> + <default> + <family>Arial</family> + </default> + </alias> +</fontconfig> + diff --git a/abs/extra/ttf-liberation/30-0-liberation-serif.conf b/abs/extra/ttf-liberation/30-0-liberation-serif.conf new file mode 100644 index 0000000..4aafd48 --- /dev/null +++ b/abs/extra/ttf-liberation/30-0-liberation-serif.conf @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE fontconfig SYSTEM "../fonts.dtd"> +<fontconfig> + <!-- Microsoft --> + <alias binding="same"> + <family>Times New Roman</family> + <accept> + <family>Liberation Serif</family> + </accept> + </alias> + <alias binding="same"> + <family>Liberation Serif</family> + <default> + <family>Times New Roman</family> + </default> + </alias> +</fontconfig> + diff --git a/abs/extra/ttf-liberation/PKGBUILD b/abs/extra/ttf-liberation/PKGBUILD index 572ae06..a91379c 100644 --- a/abs/extra/ttf-liberation/PKGBUILD +++ b/abs/extra/ttf-liberation/PKGBUILD @@ -1,4 +1,4 @@ -# $Id$ +# $Id: PKGBUILD 80169 2012-11-17 12:41:05Z lfleischer $ # Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> # Contributor: Ronald van Haren <ronald.archlinux.org> # Contributor: Roman Kyrylych <Roman.Kyrylych@gmail.com> @@ -7,17 +7,23 @@ # Contributor: Stefan Husmann < stefan-husmann@t-online.de> pkgname=ttf-liberation -pkgver=1.07.1 +pkgver=2.00.1 pkgrel=2 pkgdesc='Red Hats Liberation fonts.' arch=('any') -license=('custom' 'GPL2') +license=('custom:OFL') url='https://www.redhat.com/promo/fonts/' depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils') makedepends=('fontforge') install=ttf.install -source=("https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-ttf-$pkgver.tar.gz") -md5sums=('0be45d54cc5e1c2e3102e32b8c190346') +source=("https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-ttf-$pkgver.tar.gz" + 30-0-liberation-mono.conf + 30-0-liberation-sans.conf + 30-0-liberation-serif.conf) +md5sums=('5c781723a0d9ed6188960defba8e91cf' + '23ce227d5d72c6df2c69caf367d96341' + '88e91e718053d46cb1215067ffb0024a' + '5bc229f0f7ad387f1ba311148fcbff00') package() { cd "$srcdir/liberation-fonts-ttf-$pkgver" @@ -25,7 +31,13 @@ package() { install -d "$pkgdir/usr/share/fonts/TTF/" install -m644 *.ttf "$pkgdir/usr/share/fonts/TTF/" + # install fontconfig files + install -Dm0644 ../30-0-liberation-mono.conf "$pkgdir/etc/fonts/conf.avail/30-$pkgname-mono.conf" + install -Dm0644 ../30-0-liberation-sans.conf "$pkgdir/etc/fonts/conf.avail/30-$pkgname-sans.conf" + install -Dm0644 ../30-0-liberation-serif.conf \ + "$pkgdir/etc/fonts/conf.avail/30-$pkgname-serif.conf" + # install license - install -Dm644 "${srcdir}/liberation-fonts-ttf-${pkgver}/License.txt" \ - "${pkgdir}/usr/share/licenses/${pkgname}/License.txt" + install -Dm644 "${srcdir}/liberation-fonts-ttf-${pkgver}/LICENSE" \ + "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |