summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6eb6aab5eee74f484df463bf6b584f9e729aa43b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pkgname=otf-xits
pkgver=1.301
pkgrel=2
pkgdesc="An OpenType implementation of STIX fonts with math support"
arch=('any')
url="https://github.com/khaledhosny/xits"
license=('custom:OFL')
ghname=xits
source=("https://github.com/khaledhosny/$ghname/archive/v$pkgver.tar.gz")
sha256sums=('63a778f24e9275b7f2c7c78060e7ad6c375f5cff077852716537b26e9da8be69')

package() {
  cd "$srcdir/$ghname-$pkgver"

  install -d "$pkgdir/usr/share/fonts/OTF"
  install -m644 *.otf "$pkgdir/usr/share/fonts/OTF/"
  install -Dm644 OFL.txt "$pkgdir/usr/share/licenses/$pkgname/OFL.txt"
}