core/ttf-liberation/PKGBUILD

37 lines
1.1 KiB
Bash
Raw Normal View History

2011-03-25 01:24:26 +08:00
#
# 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
2010-05-24 23:40:27 +08:00
pkgname=ttf-liberation
2012-09-27 01:10:33 +08:00
pkgver=2.00.0
2010-05-24 23:40:27 +08:00
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')
2012-09-27 01:10:33 +08:00
install=$pkgname.install
source=("https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-${pkgver}.tar.gz")
sha256sums=('a4c5ca86da2319d66f657257c7b5b7cd56162e3bfc5396c873fb21e3f7eaf075')
2010-05-24 23:40:27 +08:00
build() {
2012-09-27 01:10:33 +08:00
cd "${srcdir}/liberation-fonts-${pkgver}"
2011-03-25 01:24:26 +08:00
make
}
package() {
2012-09-27 01:10:33 +08:00
install -d "${pkgdir}/usr/share/fonts/TTF/"
cd "${srcdir}/liberation-fonts-${pkgver}/liberation-fonts-ttf-${pkgver}"
install -m0644 *.ttf "${pkgdir}/usr/share/fonts/TTF/"
2010-05-24 23:40:27 +08:00
2012-09-27 01:10:33 +08:00
# install custom license text
install -Dm0644 "${srcdir}/liberation-fonts-${pkgver}/LICENSE" \
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
2010-05-24 23:40:27 +08:00
}
2011-03-25 01:24:26 +08:00