mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 18:27:12 +08:00
33 lines
1019 B
Bash
33 lines
1019 B
Bash
# $Id: PKGBUILD 6571 2009-12-16 16:47:28Z rvanharen $
|
|
# 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.05.2.20091019
|
|
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=('89cd7e13588da4ca14a523233b3352f0')
|
|
|
|
build() {
|
|
cd $srcdir/liberation-fonts-$pkgver
|
|
|
|
make || return 1
|
|
install -d $pkgdir/usr/share/fonts/TTF/
|
|
cd ttf
|
|
install -m644 *.ttf $startdir/pkg/usr/share/fonts/TTF/ || return 1
|
|
|
|
# install custom license text
|
|
install -Dm644 ${srcdir}/liberation-fonts-${pkgver}/License.txt \
|
|
${pkgdir}/usr/share/licenses/${pkgname}/License.txt
|
|
}
|