PKGBUILDs/community/ttf-liberation/PKGBUILD
2009-10-09 21:15:33 -05:00

28 lines
914 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: Roman Kyrylych <Roman.Kyrylych@gmail.com>
# Contributor: Andreas Zwinkau
# Contributor: rabyte <rabyte__gmail>
pkgname=ttf-liberation
pkgver=1.04
pkgrel=1
pkgdesc="Red Hats Liberation fonts"
arch=('i686' 'x86_64')
license=('custom' 'GPL2')
url="https://www.redhat.com/promo/fonts/"
depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
install=ttf.install
options=(force)
source=(https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-$pkgver.tar.gz)
md5sums=('4846797ef0fc70b0cbaede2514677c58')
build() {
cd $srcdir/liberation-fonts-$pkgver
install -d $pkgdir/usr/share/fonts/TTF/
install -m644 *.ttf $startdir/pkg/usr/share/fonts/TTF/ || return 1
# install custom license text
install -Dm644 "License.txt" $pkgdir/usr/share/licenses/$pkgname/License.txt
}