summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3b6913e2353eaafb05500dba76bb77f4b5f396b7 (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
# Maintainer: Suphal Bhattarai suphalbhattarai4@gmail.com
pkgname=ttf-nepali-font-git
pkgver=3.1
pkgrel=1
pkgdesc="Collection Of Some Of The Pupular Nepali Fonts"
arch=(x86_64 i686)
url="https://github.com/SuphalBhattarai/ttf-nepali-fonts-git"
depends=(fontconfig)
makedepends=(git)
provides=(ttf-nepali-font-git)
source=("git+$url")

md5sums=('SKIP')

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