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-liberation | |
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-liberation')
-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 |
4 files changed, 73 insertions, 7 deletions
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" } |