blob: a91379c77445c87a2a21f7c1142d0df22f593134 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# $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>
# Contributor: Andreas Zwinkau
# Contributor: rabyte <rabyte__gmail>
# Contributor: Stefan Husmann < stefan-husmann@t-online.de>
pkgname=ttf-liberation
pkgver=2.00.1
pkgrel=2
pkgdesc='Red Hats Liberation fonts.'
arch=('any')
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"
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"
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" \
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|