1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Contributor: Baptiste Grenier <baptiste@bapt.name>
7 pkgdesc="A wrapper for LaTeX and friends"
9 url="https://launchpad.net/rubber/"
12 makedepends=('texinfo' 'texlive-plainextra')
13 source=("https://gitlab.com/latex-rubber/rubber/-/archive/$pkgver/rubber-$pkgver.tar.gz")
14 sha512sums=('732894ba25d453567a9ff8189bc31fe6788cd85ba6b638f8d912686c431d6621e08fc11015459525dce8a4fb36d4351e438c9227ff4595c00bb8f52de9769abe')
17 cd "${srcdir}/rubber-$pkgver"
22 cd "${srcdir}/rubber-$pkgver"
23 python setup.py install --root="$pkgdir" --mandir=/usr/share/man --infodir=/usr/share/info
25 mkdir -p "$pkgdir"/usr/share/bash-completion/completions/
26 echo "complete -f -X '!*.tex' rubber" >"$pkgdir"/usr/share/bash-completion/completions/rubber