Date: Sunday, December 5, 2010 @ 20:05:48 Author: allan Revision: 102107
upgpkg: ttf-dejavu 2.32-1 upstream update Modified: ttf-dejavu/trunk/PKGBUILD ttf-dejavu/trunk/ttf-dejavu.install Deleted: ttf-dejavu/trunk/ChangeLog --------------------+ ChangeLog | 24 ------------------------ PKGBUILD | 23 +++++++++++------------ ttf-dejavu.install | 11 ++++++----- 3 files changed, 17 insertions(+), 41 deletions(-) Deleted: ChangeLog =================================================================== --- ChangeLog 2010-12-06 00:39:36 UTC (rev 102106) +++ ChangeLog 2010-12-06 01:05:48 UTC (rev 102107) @@ -1,24 +0,0 @@ -2009-03-12 Alexander Fehr <pizzapunk gmail com> - - * ttf-dejavu-2.29-1: - New upstream release. - -2008-12-22 Alexander Fehr <pizzapunk gmail com> - - * ttf-dejavu-2.28-1: - New upstream release. - -2008-11-26 Alexander Fehr <pizzapunk gmail com> - - * ttf-dejavu-2.27-1: - New upstream release. - -2008-07-29 Alexander Fehr <pizzapunk gmail com> - - * ttf-dejavu-2.26-1: - New upstream release. - New maintainer. - Renamed ttf.install to ttf-dejavu.install. - Added -s option to fc-cache in install file. - Removed install message. - Added ChangeLog. Modified: PKGBUILD =================================================================== --- PKGBUILD 2010-12-06 00:39:36 UTC (rev 102106) +++ PKGBUILD 2010-12-06 01:05:48 UTC (rev 102107) @@ -1,11 +1,11 @@ # $Id$ -# Maintainer: Alexander Fehr <pizzapunk gmail com> +# Maintainer: # Contributor: Jan de Groot <j...@archlinux.org> # Contributor: Michal Krenek <mi...@sg1.cz> pkgname=ttf-dejavu -pkgver=2.30 -pkgrel=2 +pkgver=2.32 +pkgrel=1 pkgdesc="Font family based on the Bitstream Vera Fonts with a wider range of characters" arch=('any') url="http://dejavu.sourceforge.net/" @@ -13,17 +13,16 @@ 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') +md5sums=('63b1bf644cd54188a2ec43aff1846104') -build() { - cd "${srcdir}/dejavu-fonts-ttf-${pkgver}" +package() { + 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 -dm755 "${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/" || return 1 + install -dm755 "${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}/" || return 1 + install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE } Modified: ttf-dejavu.install =================================================================== --- ttf-dejavu.install 2010-12-06 00:39:36 UTC (rev 102106) +++ ttf-dejavu.install 2010-12-06 01:05:48 UTC (rev 102107) @@ -4,8 +4,9 @@ 57-dejavu-sans-mono.conf 57-dejavu-sans.conf 57-dejavu-serif.conf) + post_install() { - pushd /etc/fonts/conf.d > /dev/null + pushd etc/fonts/conf.d > /dev/null for config in "${confi...@]}"; do ln -sf ../conf.avail/${config} . done @@ -17,13 +18,13 @@ post_upgrade() { if [ `vercmp 2.30-2 $2` -gt 0 ]; then - pushd /etc/fonts/conf.d > /dev/null + pushd etc/fonts/conf.d > /dev/null for config in "${confi...@]}"; do ln -sf ../conf.avail/${config} . done popd > /dev/null fi - for config in /etc/fonts/conf.d/*; do + for config in etc/fonts/conf.d/*; do if [ ! -f ${config} ]; then rm -f ${config} fi @@ -35,7 +36,7 @@ pre_upgrade() { # Link new config files not present on system yet - pushd /etc/fonts/conf.d > /dev/null + pushd etc/fonts/conf.d > /dev/null for config in "${confi...@]}"; do if [ ! -f ../conf.avail/${config} ]; then ln -sf ../conf.avail/${config} . @@ -45,7 +46,7 @@ } post_remove() { - pushd /etc/fonts/conf.d > /dev/null + pushd etc/fonts/conf.d > /dev/null for config in "${confi...@]}"; do rm -f ${config} done