summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6a2cd70f6796c3d654c66dd23d3a0d4caa7e1d28 (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
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>

pkgname=texlive-garamondx
pkgver=1.17
pkgrel=2
pkgdesc="URW Garamond No8 Adobe Type1 fonts from CTAN (for texlive)"
arch=('any')
license=('CUSTOM:alladin')
url=http://www.ctan.org/tex-archive/fonts/garamondx
depends=(texlive-core)
source=(http://mirrors.ctan.org/install/fonts/garamondx.tds.zip garamondx.maps)
md5sums=('853812ddb2b54a117db6039916dd394b'
         '80761a71120a9861400927b591ac463f')
noextract=('garamondx.tds.zip')

package() {
  _texmf_root=usr/share/texmf-dist
  install -d "$pkgdir"/var/lib/texmf/arch/installedpkgs
  install -m644 "$srcdir"/garamondx.maps "$pkgdir"/var/lib/texmf/arch/installedpkgs
  install -d "$pkgdir"/$_texmf_root/
  cd "$pkgdir"/$_texmf_root/
  bsdtar xf "$srcdir"/garamondx.tds.zip
  install -Dm644 "$pkgdir"/$_texmf_root/doc/fonts/garamondx/README \
	  "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
  rm "$pkgdir"/$_texmf_root/doc/fonts/garamondx/README
}