# Maintainer: Xyne _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')