summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8d18ff250c9acddc4d1b9621287f3ed39c2e3b09 (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
# Maintainer: Xyne <ac xunilhcra enyx, backwards>
_basename=siunitx
pkgname=texlive-"$_basename"
# Use "grep ProvidesExplPackage -r src/" to find the version.
pkgver=2.7f
pkgrel=1
pkgdesc="Typeset physical quantities in LaTeX."
arch=('any')
depends=('texlive-bin')
conflicts=('texlive-science')
# url="http://www.ctan.org/tex-archive/macros/latex/contrib/"$_basename"/"
# source=("http://mirrors.ctan.org/install/macros/latex/contrib/${_basename}.tds.zip")
url="https://github.com/josephwright/$_basename/"
source=("https://github.com/josephwright/$_basename/archive/v$pkgver.zip")
license=('LPPL')

package() {
  cd -- "${srcdir}/${_basename}-${pkgver}"
  tex "${_basename}.dtx"
  _dstdir="${pkgdir}/usr/share/texmf/tex/latex/${_basename}"
  install -dm755 -- "$_dstdir"
  install -m644 -t "$_dstdir" *.cfg *.sty
}

sha1sums=('c6286651d280d4aad190ccb43d9896bde97f25b8')