mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 22:37:15 +08:00
30 lines
1.0 KiB
Bash
30 lines
1.0 KiB
Bash
# $Id: PKGBUILD 71355 2010-03-06 19:39:30Z jgc $
|
|
# Maintainer: Alexander Fehr <pizzapunk gmail com>
|
|
# Contributor: Jan de Groot <jgc@archlinux.org>
|
|
# Contributor: Michal Krenek <mikos@sg1.cz>
|
|
|
|
pkgname=ttf-dejavu
|
|
pkgver=2.30
|
|
pkgrel=2
|
|
pkgdesc="Font family based on the Bitstream Vera Fonts with a wider range of characters"
|
|
arch=('any')
|
|
url="http://dejavu.sourceforge.net/"
|
|
license=('custom')
|
|
depends=('fontconfig' 'xorg-fonts-encodings')
|
|
install=ttf-dejavu.install
|
|
source=(http://downloads.sourceforge.net/project/dejavu/dejavu/${pkgver}/dejavu-fonts-ttf-${pkgver}.tar.bz2)
|
|
md5sums=('545b3bfc69893075a90a7c6e6f4a7e67')
|
|
|
|
build() {
|
|
cd "${srcdir}/dejavu-fonts-ttf-${pkgver}"
|
|
|
|
install -m755 -d "${pkgdir}/usr/share/fonts/TTF"
|
|
install -m644 ttf/*.ttf "${pkgdir}/usr/share/fonts/TTF/" || return 1
|
|
|
|
install -m755 -d "${pkgdir}/etc/fonts/conf.avail"
|
|
install -m644 fontconfig/*.conf "${pkgdir}/etc/fonts/conf.avail/" || return 1
|
|
|
|
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/" || return 1
|
|
}
|