diff options
Diffstat (limited to 'abs/extra/ttf-liberation/PKGBUILD')
-rw-r--r-- | abs/extra/ttf-liberation/PKGBUILD | 26 |
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" } |