mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 02:17:14 +08:00
34 lines
1.1 KiB
Bash
34 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-dejavu
|
|
pkgver=2.33
|
|
pkgrel=1
|
|
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=('8b601e91725b6d69141b0fcf527948c0')
|
|
|
|
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
|
|
}
|