summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: da1e4ee63c5863f6ab9c54b2a181b29d209d4e52 (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
# Maintainer: Caltlgin Stsodaat <contact@fossdaily.xyz>

# otfinfo --info *.ttf

_pkgname='ezhuthu'
pkgname="ttf-${_pkgname}"
pkgver=1.2
pkgrel=2
pkgdesc='Ezhuthu Malayalam handwriting style font'
arch=('any')
url='http://rachana.org.in'
_url_source='https://gitlab.com/rit-fonts/ezhuthu'
license=('OFL')
makedepends=('fontforge' 'git')
source=("${pkgname}::git+${_url_source}.git#tag=${pkgver}")
sha256sums=('SKIP')

build() {
  make -C "${pkgname}" ttf
}

package() {
  cd "${pkgname}"
  install -Dvm644 "build/${_pkgname^}-Regular.ttf" -t "${pkgdir}/usr/share/fonts/TTF"
  install -Dvm644 'README.md' -t "${pkgdir}/usr/share/doc/${pkgname}"
  install -Dvm644 "${_pkgname^}-character-set.pdf" -t "${pkgdir}/usr/share/doc/${pkgname}"
  install -Dvm644 "in.org.rachana.${_pkgname}.metainfo.xml" -t "${pkgdir}/usr/share/metainfo"
}

# vim: ts=2 sw=2 et: