Date: Monday, February 6, 2012 @ 03:17:03 Author: bisson Revision: 149198
signed rebuild for free Added: ttf-mph-2b-damase/trunk/install (from rev 149179, ttf-mph-2b-damase/trunk/ttf.install) Modified: ttf-mph-2b-damase/trunk/PKGBUILD Deleted: ttf-mph-2b-damase/trunk/ttf.install -------------+ PKGBUILD | 30 ++++++++++++++---------------- install | 15 +++++++++++++++ ttf.install | 15 --------------- 3 files changed, 29 insertions(+), 31 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2012-02-06 08:11:41 UTC (rev 149197) +++ PKGBUILD 2012-02-06 08:17:03 UTC (rev 149198) @@ -1,26 +1,24 @@ # $Id$ -# Maintainer: Firmicus <francois.archlinux.org> # Contributor: Damir Perisa <damir.per...@bluewin.ch> -# font is PD, unfortunately nowhere on the net available directly atm, so we use debian as source -# deb: Paul Wise <pabs3 AT bonedaddy.net> -# author: Mark Williamson <node DOT ue AT gmail.com> +# Maintainer: Gaetan Bisson <bis...@archlinux.org> pkgname=ttf-mph-2b-damase pkgver=001.000.4.dfsg.2 -origver=001.000.dfsg.2 -pkgrel=2 -pkgdesc="Super-Unicode TTFont covering full Plane 1, and the following scripts: Armenian, Buginese, Cherokee, Cypriot Syllabary, Cyrillic, Deseret, Georgian, Asomtavruli, Nuskhuri but no Mkhedruli, Glagolitic, Gothic, Greek, Hanunoo, Hebrew, Latin, Limbu, Linear B, Old Italic, Old Persian cuneiform, Osmanya, Shavian, Syloti Nagri, Tai Le, Thaana, Tifinagh, Ugaritic, Vietnamese" +_pkgver=001.000.dfsg.2 +pkgrel=3 +pkgdesc='Unicode font covering full plane 1, and numerous scripts' +url="http://packages.debian.org/unstable/x11/ttf-mph-2b-damase" +license=('custom:Public_Domain') arch=('any') -license=('PD') -url="http://packages.debian.org/unstable/x11/ttf-mph-2b-damase" depends=('xorg-fonts-encodings' 'xorg-fonts-alias' 'xorg-font-utils' 'fontconfig') -install=ttf.install -source=("http://ftp.debian.org/debian/pool/main/t/ttf-mph-2b-damase/ttf-mph-2b-damase_${origver}.orig.tar.gz") -md5sums=('a3182b21abe68046039471cabe0af66d') +source=("http://ftp.debian.org/debian/pool/main/t/ttf-mph-2b-damase/ttf-mph-2b-damase_${_pkgver}.orig.tar.gz") +sha1sums=('89be20922bae94c55e7e42bcc8644bb5c7375f2a') +install=install + build() { - cd ${srcdir}/ttf-mph-2b-damase-$origver - install -dm755 ${pkgdir}/usr/share/fonts/TTF - install -m644 *.ttf ${pkgdir}/usr/share/fonts/TTF/ + cd "${srcdir}/${pkgname}-${_pkgver}" + install -dm755 "${pkgdir}"/usr/share/{fonts/TTF,licenses/${pkgname}} + install -m644 *.ttf "${pkgdir}"/usr/share/fonts/TTF + echo 'No copyright applies; this work is in the public domain.' > "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" } - Copied: ttf-mph-2b-damase/trunk/install (from rev 149179, ttf-mph-2b-damase/trunk/ttf.install) =================================================================== --- install (rev 0) +++ install 2012-02-06 08:17:03 UTC (rev 149198) @@ -0,0 +1,15 @@ +post_install() { + echo -n "Updating font cache... " + fc-cache -f > /dev/null + mkfontscale /usr/share/fonts/TTF + mkfontdir /usr/share/fonts/TTF + echo "done." +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} Deleted: ttf.install =================================================================== --- ttf.install 2012-02-06 08:11:41 UTC (rev 149197) +++ ttf.install 2012-02-06 08:17:03 UTC (rev 149198) @@ -1,15 +0,0 @@ -post_install() { - echo -n "Updating font cache... " - fc-cache -f > /dev/null - mkfontscale /usr/share/fonts/TTF - mkfontdir /usr/share/fonts/TTF - echo "done." -} - -post_upgrade() { - post_install $1 -} - -post_remove() { - post_install $1 -}