summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bb1c9aed64d3476d67b6481c6d05e2d4130f9c72 (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: Dan McCurry <dan.mccurry at linux dot com>

pkgname=texlive-newtx
pkgver=1.55
pkgrel=1
pkgdesc="Alternative uses of the TX fonts, with improved metrics."
arch=('any')
depends=('texlive-bin')
url="http://ctan.org/pkg/${pkgname/texlive-/}"
license=('custom: LaTeX Project Public License 1.3c')
source=("http://mirrors.ctan.org/install/fonts/${pkgname/texlive-/}.tds.zip"
	# LaTeX Project Public License
	"lppl.txt::http://latex-project.org/lppl/lppl-1-3c.txt")
noextract=("${pkgname/texlive-/}.tds.zip")
install=$pkgname.install
sha1sums=('95e886568ea51fdddfa640af056ab206a4e70b09'
          '47438d5b2ab351796b64b62da105432ab71369ab')

package() {
  mkdir -p "$pkgdir"/usr/share/texmf/
  unzip "$srcdir/${pkgname/texlive-/}".tds.zip -d "$pkgdir"/usr/share/texmf/
  find "$pkgdir" -type f -exec chmod 644 {} \;
  find "$pkgdir" -type d -exec chmod 755 {} \;
  install -Dm644 "$srcdir"/lppl.txt \
	  "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
}