mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 11:57:14 +08:00
25 lines
846 B
Bash
25 lines
846 B
Bash
pkgname=ttf-dejavu
|
|
pkgver=2.37
|
|
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=('d0efec10b9f110a32e9b8f796e21782c')
|
|
|
|
package() {
|
|
cd "${srcdir}/dejavu-fonts-ttf-${pkgver}"
|
|
|
|
install -m755 -d "${pkgdir}/usr/share/fonts/TTF"
|
|
install -m644 ttf/*.ttf "${pkgdir}/usr/share/fonts/TTF/"
|
|
|
|
install -m755 -d "${pkgdir}/etc/fonts/conf.avail"
|
|
install -m644 fontconfig/*.conf "${pkgdir}/etc/fonts/conf.avail/"
|
|
|
|
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/"
|
|
}
|