Guest User

PKGBUILD for texlive-siunitx

a guest
Jul 20th, 2016
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.89 KB | None | 0 0
  1. # Maintainer: Xyne <ac xunilhcra enyx, backwards>
  2. _basename=siunitx
  3. pkgname=texlive-"$_basename"
  4. # Use "grep ProvidesExplPackage -r src/" to find the version.
  5. pkgver=2.6q
  6. pkgrel=1
  7. pkgdesc="Typeset chemical formulae/equations and Risk and Safety phrases in LaTeX."
  8. arch=('any')
  9. depends=('texlive-bin')
  10. conflicts=('texlive-science')
  11. # url="http://www.ctan.org/tex-archive/macros/latex/contrib/"$_basename"/"
  12. # source=("http://mirrors.ctan.org/install/macros/latex/contrib/${_basename}.tds.zip")
  13. source=("https://github.com/josephwright/$_basename/archive/v$pkgver.zip")
  14. license=('LPPL')
  15. install="$pkgname".install
  16.  
  17. package() {
  18.   cd -- "${srcdir}/${_basename}-${pkgver}"
  19.   tex "${_basename}.dtx"
  20.   _dstdir="${pkgdir}/usr/share/texmf/tex/latex/${_basename}"
  21.   install -dm755 -- "$_dstdir"
  22.   install -m644 -t "$_dstdir" *.cfg *.sty
  23. }
  24.  
  25. sha1sums=('e5a9f70b9e139b57205d070952e5a033a808aac5')
Add Comment
Please, Sign In to add comment