core/ttf-dejavu/PKGBUILD

25 lines
846 B
Bash
Raw Normal View History

2010-03-14 23:48:48 +08:00
pkgname=ttf-dejavu
2016-11-04 15:44:12 +08:00
pkgver=2.37
2011-03-25 01:24:26 +08:00
pkgrel=1
2010-03-14 23:48:48 +08:00
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)
2016-11-04 15:44:12 +08:00
md5sums=('d0efec10b9f110a32e9b8f796e21782c')
2010-03-14 23:48:48 +08:00
2015-07-13 21:11:41 +08:00
package() {
2010-03-14 23:48:48 +08:00
cd "${srcdir}/dejavu-fonts-ttf-${pkgver}"
install -m755 -d "${pkgdir}/usr/share/fonts/TTF"
2015-07-13 21:11:41 +08:00
install -m644 ttf/*.ttf "${pkgdir}/usr/share/fonts/TTF/"
2010-03-14 23:48:48 +08:00
install -m755 -d "${pkgdir}/etc/fonts/conf.avail"
2015-07-13 21:11:41 +08:00
install -m644 fontconfig/*.conf "${pkgdir}/etc/fonts/conf.avail/"
2010-03-14 23:48:48 +08:00
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
2015-07-13 21:11:41 +08:00
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/"
2010-03-14 23:48:48 +08:00
}