summaryrefslogtreecommitdiffstats
path: root/abs/extra/ttf-liberation/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-liberation/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-liberation/PKGBUILD')
-rw-r--r--abs/extra/ttf-liberation/PKGBUILD26
1 files changed, 19 insertions, 7 deletions
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"
}