summaryrefslogtreecommitdiff
path: root/pcr/otf-stix/PKGBUILD
blob: a8f97367089428f732e6bfffda2d832ecc7bd2d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

# parabola changes and rationale:
#  - added .install file to update font cache

pkgname=otf-stix
pkgver=2.0.0
pkgrel=1
pkgdesc="An OpenType font with math support, designed for scientific and engineering printing"
arch=('any')
url="http://www.stixfonts.org"
license=('custom:OFL')
depends=('fontconfig')
install=otf-stix.install
source=("https://sourceforge.net/projects/stixfonts/files/Current%20Release/STIXv$pkgver.zip")
sha256sums=('6fac297b27c78891aeca9adb37be54729932e57cdcdb218a9e163671c163d938')

package() {
  cd "$srcdir/STIXv$pkgver"

  install -d "$pkgdir/usr/share/fonts/OTF"
  install -m644 Fonts/OTF/*.otf "$pkgdir/usr/share/fonts/OTF/"
  install -Dm644 "docs/STIX_${pkgver}_license.pdf" "$pkgdir/usr/share/licenses/$pkgname/OFL.pdf"
}