diff options
Diffstat (limited to 'abs/core/ttf-dejavu/PKGBUILD')
-rw-r--r-- | abs/core/ttf-dejavu/PKGBUILD | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/abs/core/ttf-dejavu/PKGBUILD b/abs/core/ttf-dejavu/PKGBUILD index a5fd988..0c2fca0 100644 --- a/abs/core/ttf-dejavu/PKGBUILD +++ b/abs/core/ttf-dejavu/PKGBUILD @@ -1,29 +1,27 @@ -# $Id: PKGBUILD 71355 2010-03-06 19:39:30Z jgc $ -# Maintainer: Alexander Fehr <pizzapunk gmail com> +# $Id: PKGBUILD 157781 2012-04-29 11:06:40Z allan $ +# Maintainer: # Contributor: Jan de Groot <jgc@archlinux.org> # Contributor: Michal Krenek <mikos@sg1.cz> pkgname=ttf-dejavu -pkgver=2.30 -pkgrel=2 +pkgver=2.33 +pkgrel=3 pkgdesc="Font family based on the Bitstream Vera Fonts with a wider range of characters" arch=('any') -url="http://dejavu.sourceforge.net/" +url="http://dejavu-fonts.org/wiki/Main_Page" license=('custom') -depends=('fontconfig' 'xorg-fonts-encodings') +depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-mkfontscale' 'xorg-mkfontdir') install=ttf-dejavu.install source=(http://downloads.sourceforge.net/project/dejavu/dejavu/${pkgver}/dejavu-fonts-ttf-${pkgver}.tar.bz2) -md5sums=('545b3bfc69893075a90a7c6e6f4a7e67') +md5sums=('8b601e91725b6d69141b0fcf527948c0') -build() { - cd "${srcdir}/dejavu-fonts-ttf-${pkgver}" +package() { + install -dm755 "${pkgdir}"/etc/fonts/conf.avail + install -dm755 "${pkgdir}"/usr/share/fonts/TTF - install -m755 -d "${pkgdir}/usr/share/fonts/TTF" - install -m644 ttf/*.ttf "${pkgdir}/usr/share/fonts/TTF/" || return 1 + cd "${srcdir}"/dejavu-fonts-ttf-${pkgver} + install -m644 ttf/*.ttf "${pkgdir}"/usr/share/fonts/TTF/ + install -m644 fontconfig/*.conf "${pkgdir}"/etc/fonts/conf.avail/ - 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 + install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE } |