summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 13dfa677a8a18102e58023254dee2dda68d180ba (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
pkgname=ttf-gurmukhi_punjabi
pkgver=0.0
pkgrel=0
pkgdesc="Gurmukhi/ Punjabi - 252 fonts"
arch=(any)
depends=(fontconfig xorg-font-utils)
url="http://www.billie.grosse.is-a-geek.com"

source=(
"http://www.billie.grosse.is-a-geek.com/res/local/allbillie.tar.bz2"
)

md5sums=(
"15b7f0ad720eeb0e62da344978305229"
)

package() {
  install -d "$pkgdir/usr/share/fonts/TTF"
  install -m644 "$srcdir/"*.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
}