summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8d2370905cc29edefd9192e4db44c31caf4e85f1 (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
28
29
30
31
32
33
34
35
36
# Maintainer: Andy Crowd andy_crowd@ainsdata.se 
pkgname=ttf-lao
pkgver=0.0
pkgrel=20060226
pkgdesc="Lao TTF fonts"
arch=(any)
depends=(fontconfig xorg-font-utils)
url="http://prdownloads.sourceforge.net/laofoss/Phetsarath_OT.zip"
license=('GPL-2.1 or late')
source=(http://prdownloads.sourceforge.net/laofoss/Phetsarath_OT.zip
)

md5sums=(2a8d37d7ea2d937b101226edda11200b)

package() {
install -d "$pkgdir/usr/share/fonts/TTF"
install -m644 "Phetsarath_OT.ttf" "$pkgdir/usr/share/fonts/TTF/"

}
 
post_install() {
  echo -n "Updating font cache... "
  fc-cache >/dev/null -f
  mkfontscale /usr/share/fonts/TTF
  mkfontdir   /usr/share/fonts/TTF
  echo done
}

post_upgrade() {
  post_install
}

post_remove() {
  post_install
}