summaryrefslogtreecommitdiff
path: root/libre/ttf-thai-libre/PKGBUILD
blob: 3d1d4ec3dd39e84ce0812fdca1b316541f9a154c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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
}