Date: Monday, February 6, 2012 @ 02:55:16 Author: bisson Revision: 149191
archrelease: copy trunk to testing-any Added: ttf-freebanglafont/repos/testing-any/ ttf-freebanglafont/repos/testing-any/PKGBUILD (from rev 149190, ttf-freebanglafont/trunk/PKGBUILD) ttf-freebanglafont/repos/testing-any/install (from rev 149190, ttf-freebanglafont/trunk/install) ----------+ PKGBUILD | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ install | 15 +++++++++++++++ 2 files changed, 67 insertions(+) Copied: ttf-freebanglafont/repos/testing-any/PKGBUILD (from rev 149190, ttf-freebanglafont/trunk/PKGBUILD) =================================================================== --- testing-any/PKGBUILD (rev 0) +++ testing-any/PKGBUILD 2012-02-06 07:55:16 UTC (rev 149191) @@ -0,0 +1,52 @@ +# $Id$ +# Contributor: Damir Perisa <damir.per...@bluewin.ch> +# Contributor: Firmicus <francois.archlinux.org> +# Maintainer: Gaetan Bisson <bis...@archlinux.org> + +pkgname=ttf-freebanglafont +pkgver=20120206 +pkgrel=1 +pkgdesc='Bengali fonts' +url='http://sourceforge.net/projects/ekushey/' +license=('GPL') +arch=('any') +depends=('xorg-fonts-encodings' 'xorg-font-utils' 'fontconfig') +source=("http://downloads.sourceforge.net/project/ekushey/Ekushey%20OpenType%20Bangla%20Fonts/Ekushey%20Azad/Azad_27-02-2006.ttf" + "http://downloads.sourceforge.net/project/ekushey/Ekushey%20OpenType%20Bangla%20Fonts/Ekushey%20Durga/Durga_03-09-2005.ttf" + "http://downloads.sourceforge.net/project/ekushey/Ekushey%20OpenType%20Bangla%20Fonts/Ekushey%20Godhuli/Godhuli_03-09-2005.ttf" + "http://downloads.sourceforge.net/project/ekushey/Ekushey%20OpenType%20Bangla%20Fonts/Ekushey%20Lohit/Lohit_14-04-2007.ttf" + "http://downloads.sourceforge.net/project/ekushey/Ekushey%20OpenType%20Bangla%20Fonts/Ekushey%20Mohua/Mohua_07-09-05.ttf" + "http://downloads.sourceforge.net/project/ekushey/Ekushey%20OpenType%20Bangla%20Fonts/Ekushey%20Puja/Puja-17-06-2006.ttf" + "http://downloads.sourceforge.net/project/ekushey/Ekushey%20OpenType%20Bangla%20Fonts/Ekushey%20Punarbhaba/Punarbhaba_27-02-2006.ttf" + "http://downloads.sourceforge.net/project/ekushey/Ekushey%20OpenType%20Bangla%20Fonts/Ekushey%20Saraswatii/Saraswatii_03-09-2005.ttf" + "http://downloads.sourceforge.net/project/ekushey/Ekushey%20OpenType%20Bangla%20Fonts/Ekushey%20Sharifa/Sharifa_03-09-2005.ttf" + "http://downloads.sourceforge.net/project/ekushey/Ekushey%20OpenType%20Bangla%20Fonts/Ekushey%20Sumit/Sumit_03-09-2005.ttf" + "http://downloads.sourceforge.net/project/ekushey/Ekushey%20OpenType%20Bangla%20Fonts/Other%20Fonts/LikhanNormal_11-08-2005.ttf" + "http://downloads.sourceforge.net/project/ekushey/Ekushey%20OpenType%20Bangla%20Fonts/Other%20Fonts/Mukti_17-03-2007.ttf" + "http://downloads.sourceforge.net/project/ekushey/Ekushey%20OpenType%20Bangla%20Fonts/Other%20Fonts/Sagar_11-08-2005_GPL.ttf" + "http://downloads.sourceforge.net/project/ekushey/Ekushey%20OpenType%20Bangla%20Fonts/Rupali/Rupali_01-02-2007.ttf" + "http://downloads.sourceforge.net/project/ekushey/Ekushey%20OpenType%20Bangla%20Fonts/SolaimanLipi/SolaimanLipi_20-04-07.ttf") +sha1sums=('6ba6c90f3e27265275775ae6bca14e77e72b3f7e' + '99284f3a7bdc123d4cf83d19ee3724da55cc6c7a' + 'f8156b328678b551c9da3d146a0ec2f32caf1dd2' + 'bab747cb3d74c1c7860f5c6692f9c11a0087e870' + '7af5d738b0c7d6493cbcae58b417d6d35d2621aa' + 'da74e108083bb22f02a0f32ed7bae8d12be0ca79' + '24a8193d72528083bd4e4c97a8726b8c5ccb1c0a' + 'cc51d70d1cb5b0ce9385663b11a4d27746e9061d' + 'f80b57e9857bdfadf1b819bfd2ada146cbd6429f' + '733206bc06ae76c29ca14d9895052c9f59086cb4' + '3a8f46b3db493ed8d21892d86783799ccf843174' + 'd6d94359dbe83a25544ce95edb39dd7bfcbfa795' + '93e8d038a0c95e675b9be9a39912fe7ea9594d19' + 'c355d10cdafc0ff2b7c720b4c61123face085e6b' + '8edbef09a8b1627af460c2a7210b7267412566cc') + +install=install + +build() { + cd "${srcdir}" + for i in *.ttf; do + install -Dm644 "${i}" "${pkgdir}/usr/share/fonts/TTF/${i%%[_-]*}.ttf" + done +} Copied: ttf-freebanglafont/repos/testing-any/install (from rev 149190, ttf-freebanglafont/trunk/install) =================================================================== --- testing-any/install (rev 0) +++ testing-any/install 2012-02-06 07:55:16 UTC (rev 149191) @@ -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 +}