mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
33 lines
1.2 KiB
Bash
33 lines
1.2 KiB
Bash
# $Id: PKGBUILD 47798 2009-07-27 19:45:11Z francois $
|
|
# Maintainer: Firmicus <francois.archlinux.org>
|
|
# Contributor: damir <damir@archlinux.org>
|
|
# Contributor: Camille Moncelier <pix@devlife.org>
|
|
|
|
pkgname=ttf-thai
|
|
pkgver=0.4.13
|
|
pkgrel=1
|
|
pkgdesc="A collection of basic Thai fonts"
|
|
arch=(any)
|
|
url="http://linux.thai.net/taxonomy/term/3"
|
|
license=('GPL' 'custom')
|
|
depends=(xorg-fonts-encodings xorg-fonts-alias xorg-font-utils fontconfig)
|
|
provides=('thai-ttf')
|
|
install=ttf.install
|
|
source=(ftp://linux.thai.net/pub/ThaiLinux/software/thai-ttf/thai-ttf-${pkgver}.tar.gz LICENSE)
|
|
md5sums=('86eefe9c60e8a063eb22597f51252ddd'
|
|
'cc4f2ce6fbb72abdca36384a7dead27f')
|
|
|
|
build() {
|
|
cd ${srcdir}/thai-ttf-${pkgver}
|
|
|
|
# install fonts to right place
|
|
install -d ${pkgdir}/usr/share/fonts/TTF
|
|
install -m644 *.ttf ${pkgdir}/usr/share/fonts/TTF/
|
|
|
|
# install specification for fonts to right place
|
|
install -d ${pkgdir}/etc/fonts/conf.avail/
|
|
install -m644 etc/fonts/conf.avail/64-ttf-thai-tlwg.conf ${pkgdir}/etc/fonts/conf.avail/
|
|
install -m644 etc/fonts/conf.avail/89-ttf-thai-tlwg-synthetic.conf ${pkgdir}/etc/fonts/conf.avail/
|
|
|
|
install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
}
|