core/ttf-liberation/PKGBUILD
2011-03-24 17:24:26 +00:00

38 lines
1.1 KiB
Bash

#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=ttf-liberation
pkgver=1.06.0.20100721
pkgrel=1
pkgdesc="Red Hats Liberation fonts"
arch=('any')
license=('custom' 'GPL2')
url="https://www.redhat.com/promo/fonts/"
depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
makedepends=('fontforge')
install=ttf.install
options=(force)
source=(https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-$pkgver.tar.gz)
md5sums=('2f45bd873ab48cf0c3a00fbd350c0e80')
build() {
cd $srcdir/liberation-fonts-$pkgver
make
}
package() {
install -d $pkgdir/usr/share/fonts/TTF/
cd $srcdir/liberation-fonts-$pkgver/liberation-fonts-ttf-1.06.0.$(date +%Y%m%d)
install -m644 *.ttf $pkgdir/usr/share/fonts/TTF/
# install custom license text
install -Dm644 ${srcdir}/liberation-fonts-${pkgver}/License.txt \
${pkgdir}/usr/share/licenses/${pkgname}/License.txt
}