summaryrefslogtreecommitdiff
path: root/libre/ttf-thai-libre/PKGBUILD
diff options
context:
space:
mode:
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
+}
+