PKGBUILDs/extra/ttf-linux-libertine/PKGBUILD
2009-09-26 09:35:50 -05:00

33 lines
1.2 KiB
Bash

# $Id: PKGBUILD,v 1.7 2009/04/05 09:41:36 firmicus Exp $
# Maintainer: Firmicus <francois.archlinux.org>
# Contributor: Lukas Jirkovsky <l.jirkovsky@gmail.com>
# Contributor: <AttilaH©web.de>
pkgname=ttf-linux-libertine
pkgver=4.4.1
pkgrel=2
pkgdesc="Serif (Libertine) and Sans Serif (Biolinum) OpenType fonts with large Unicode coverage"
arch=(arm)
license=('GPL' 'custom:OFL')
url="http://linuxlibertine.sourceforge.net/"
depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
install=libertine.install
source=(http://downloads.sourceforge.net/sourceforge/linuxlibertine/LinLibertineFont-$pkgver.tgz)
md5sums=('297f537b31693c92c1aceaa0aeccb115')
build() {
cd ${startdir}/src/LinLibertineFont
install -d -m 755 $pkgdir/usr/share/fonts/{OTF,TTF} || return 1
for f in *.ttf; do
name=$(echo $f | cut -f 1 -d '-');
mv $f $name.ttf;
done
for f in *.otf ; do
name=$(echo $f | cut -f 1 -d '-');
mv $f $name.otf;
done
install -m644 *.ttf $pkgdir/usr/share/fonts/TTF || return 1
install -m644 *.otf $pkgdir/usr/share/fonts/OTF || return 1
install -D -m644 OFL.txt $startdir/pkg/usr/share/licenses/$pkgname/LICENSE || return 1
install -D -m644 LICENCE.txt $startdir/pkg/usr/share/licenses/$pkgname/README || return 1
}