summaryrefslogtreecommitdiff
path: root/libre/ttf-thai-libre/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /libre/ttf-thai-libre/PKGBUILD
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'libre/ttf-thai-libre/PKGBUILD')
-rw-r--r--libre/ttf-thai-libre/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/libre/ttf-thai-libre/PKGBUILD b/libre/ttf-thai-libre/PKGBUILD
new file mode 100644
index 000000000..3d1d4ec3d
--- /dev/null
+++ b/libre/ttf-thai-libre/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Henry Jensen <hjensen@connochaetos.org>
+
+pkgname=ttf-thai-libre
+pkgver=0.4.14
+pkgrel=1
+pkgdesc="A collection of basic Thai fonts, libre version"
+arch=(any)
+license=('GPL')
+depends=(xorg-fonts-encodings xorg-fonts-alias xorg-font-utils fontconfig)
+makedepends=(fontforge)
+provides=('thai-ttf' "ttf-thai=$pkgver")
+conflicts=('ttf-thai')
+replaces=('ttf-thai')
+url="http://www.connochaetos.org"
+install=ttf.install
+source=(http://www.connochaetos.org/misc/thaifonts-scalable-libre-${pkgver}.tar.gz)
+md5sums=('205436d69d273aca33dbbf31c61fa6b9')
+
+build() {
+ cd ${srcdir}/thaifonts-scalable-libre-${pkgver}
+ ./configure --prefix=/usr --with-ttfdir=/usr/share/fonts/TTF --sysconfdir=/etc
+ make
+ make DESTDIR=${pkgdir}/ install
+ rm ${pkgdir}/usr/share/fonts/TTF/fonts.dir
+ rm ${pkgdir}/usr/share/fonts/TTF/fonts.scale
+}
+