[arch-commits] CVS update of extra/x11/ttf-thai (PKGBUILD)
Damir Perisa
damir at archlinux.org
Mon Dec 10 19:22:52 UTC 2007
Date: Monday, December 10, 2007 @ 14:22:52
Author: damir
Path: /home/cvs-extra/extra/x11/ttf-thai
Modified: PKGBUILD (1.6 -> 1.7)
upgpkg: ttf-thai 0.4.8-1
----------+
PKGBUILD | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
Index: extra/x11/ttf-thai/PKGBUILD
diff -u extra/x11/ttf-thai/PKGBUILD:1.6 extra/x11/ttf-thai/PKGBUILD:1.7
--- extra/x11/ttf-thai/PKGBUILD:1.6 Tue Jul 17 08:06:55 2007
+++ extra/x11/ttf-thai/PKGBUILD Mon Dec 10 14:22:52 2007
@@ -1,29 +1,33 @@
-# $Id: PKGBUILD,v 1.6 2007/07/17 12:06:55 damir Exp $
+# $Id: PKGBUILD,v 1.7 2007/12/10 19:22:52 damir Exp $
# Maintainer: damir <damir at archlinux.org>
# Contributor: Camille Moncelier <pix at devlife.org>
pkgname=ttf-thai
origname=thai-ttf
provides=("${origname}")
-pkgver=0.4.7
+pkgver=0.4.8
pkgrel=1
pkgdesc="A collection of basic Thai fonts"
arch=("i686" "x86_64")
-url="http://www.into-asia.com/thai_language/thaifont/"
+# according to http://linux.thai.net/projects/thaifonts-scalable
+# license=("This package collects Thai scalable fonts available in free licenses.")
+# however what licences these are, i have to ask them.
+url="http://linux.thai.net/node/95"
depends=(xorg-fonts-encodings xorg-fonts-alias xorg-font-utils fontconfig)
-# server is very slow!
-# at least from switzerland it took me 2 hours to download the 800kb 0.4.7 tarball
-source=("http://linux.thai.net/pub/thailinux/software/thai-ttf/${origname}-${pkgver}.tar.gz")
+# extremely slow server! takes hours to get this tar.gz file
+source=("ftp://linux.thai.net/pub/ThaiLinux/software/thai-ttf/${origname}-${pkgver}.tar.gz")
install=ttf.install
build() {
cd ${startdir}/src/${origname}-${pkgver}
+
# install fonts to right place
mkdir -p ${startdir}/pkg/usr/share/fonts/TTF
install -m644 *.ttf ${startdir}/pkg/usr/share/fonts/TTF/
+
# install specification for fonts to right place
mkdir -p ${startdir}/pkg/etc/fonts/conf.avail/
install -m644 etc/fonts/conf.avail/65-ttf-thai-tlwg.conf ${startdir}/pkg/etc/fonts/conf.avail/
+ install -m644 etc/fonts/conf.avail/90-ttf-thai-tlwg-synthetic.conf ${startdir}/pkg/etc/fonts/conf.avail/
}
-md5sums=('cfe69535e60d60168b82c64ca9643a31')
More information about the arch-commits
mailing list