updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / ttf-xits / PKGBUILD
blob9560f751c2a1f7ae3b1a1635d4e115e9664ce2d9
1 # $Id$
2 # Maintainer: Florian Zeitz <florob at babelmonkeys dot de>
4 pkgname=ttf-xits
5 pkgver=1.103
6 pkgrel=1
7 pkgdesc="OpenType implementation of STIX fonts with math support"
8 arch=('any')
9 url="https://github.com/khaledhosny/xits-math"
10 license=('custom:OFL')
11 depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-mkfontscale' 'xorg-mkfontdir')
12 install=ttf-xits.install
13 source=(https://github.com/khaledhosny/xits-math/tarball/v${pkgver})
14 md5sums=('3b95c6ede1d2d56c5ead757e365add45')
16 package() {
17         cd "$srcdir"/khaledhosny-xits-math-*
18         install -dm755 "${pkgdir}"/usr/share/fonts/OTF
19         install -m644 *.otf "${pkgdir}"/usr/share/fonts/OTF
21         install -Dm644 OFL.txt "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE
22         install -dm755 "${pkgdir}"/usr/share/doc/"${pkgname}"
23         install -m644 documentation/user-guide.pdf "${pkgdir}"/usr/share/doc/"${pkgname}"