summaryrefslogtreecommitdiff
path: root/pcr/otf-stix/PKGBUILD
blob: 6a9b2d62c91166d9d0e8990ed9a71ab6b42d151e (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
37
# Maintainer (Arch): ezzetabi <ezzetabi at gawab dot com>
# Maintainer (Parabola): Alon Ivtsan <alonivtsan@lavabit.com>
# taken from https://aur.archlinux.org/packages/otf-stix/

pkgname=otf-stix
pkgver=1.1.0
#_pkgver=${pkgver//_/-}
pkgrel=2
epoch=2
pkgdesc='A comprehensive set of fonts that serve the scientific and 
engineering community.'
arch=('any')
url="http://www.stixfonts.org"
license=('Custom: OFL')
depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
makedepends=('unzip')
install=otf-stix.install
source=("http://downloads.sourceforge.net/stixfonts/STIXv$pkgver.zip"
'http://www.stixfonts.org/STIXFontLicense2010.txt')

build() {
  /bin/true
}

package() {
  cd "$srcdir"

  install -m755 -d "$pkgdir/usr/share/fonts/OTF"
  install -m644 Fonts/STIX-General/*.otf "$pkgdir/usr/share/fonts/OTF"
  install -m644 Fonts/STIX-Word/*.otf "$pkgdir/usr/share/fonts/OTF"
  install -Dm644 "$srcdir"/STIXFontLicense2010.txt \
    "$pkgdir"/usr/share/licenses/"$pkgname"/license.txt
}

md5sums=('e5ebc8ef9b7df0f0bac0fd90bce95295'
'b1af7bbd3cea93a60bf68cf571ad6cab')