2017-04-19 14:53:00 +02:00
|
|
|
|
# Description: Red Hats Liberation yazı tipleri.
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# URL: https://www.redhat.com/promo/fonts/
|
2016-07-22 17:24:44 +02:00
|
|
|
|
# Packager: alihan-ozturk28@hotmail.com
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# Depends on: xorg-fontconfig xorg-font-util xorg-encodings fontforge
|
2016-07-22 17:24:44 +02:00
|
|
|
|
|
2016-02-24 01:27:23 +01:00
|
|
|
|
name=ttf-liberation
|
|
|
|
|
version=2.00.1
|
|
|
|
|
release=1
|
|
|
|
|
|
|
|
|
|
source=(
|
|
|
|
|
https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-ttf-$version.tar.gz
|
|
|
|
|
ttf-liberation.30-0-liberation-mono.conf
|
|
|
|
|
ttf-liberation.30-0-liberation-sans.conf
|
|
|
|
|
ttf-liberation.30-0-liberation-serif.conf)
|
|
|
|
|
|
|
|
|
|
build(){
|
|
|
|
|
cd liberation-fonts-ttf-$version
|
|
|
|
|
install -d $PKG/usr/share/fonts/TTF/
|
|
|
|
|
install -m644 *.ttf $PKG/usr/share/fonts/TTF/
|
|
|
|
|
|
|
|
|
|
# install fontconfig files
|
|
|
|
|
install -Dm644 $SRC/ttf-liberation.30-0-liberation-mono.conf \
|
|
|
|
|
$PKG/etc/fonts/conf.avail/30-$name-mono.conf
|
|
|
|
|
install -Dm644 $SRC/ttf-liberation.30-0-liberation-sans.conf \
|
|
|
|
|
$PKG/etc/fonts/conf.avail/30-$name-sans.conf
|
|
|
|
|
install -Dm644 $SRC/ttf-liberation.30-0-liberation-serif.conf \
|
|
|
|
|
$PKG/etc/fonts/conf.avail/30-$pkgname-serif.conf
|
|
|
|
|
}
|