archrelease: copy trunk to community-any
[ArchLinux/community.git] / rubber / trunk / PKGBUILD
blob396077134d74a46b3bf893cd271c9a48023f20c3
1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Contributor: Baptiste Grenier <baptiste@bapt.name>
4 pkgname=rubber
5 pkgver=1.6.0
6 pkgrel=3
7 pkgdesc="A wrapper for LaTeX and friends"
8 arch=('any')
9 url="https://launchpad.net/rubber/"
10 license=('GPL')
11 depends=('python')
12 makedepends=('texinfo' 'texlive-plainextra')
13 source=("https://gitlab.com/latex-rubber/rubber/-/archive/$pkgver/rubber-$pkgver.tar.gz")
14 sha512sums=('732894ba25d453567a9ff8189bc31fe6788cd85ba6b638f8d912686c431d6621e08fc11015459525dce8a4fb36d4351e438c9227ff4595c00bb8f52de9769abe')
16 build() {
17   cd "${srcdir}/rubber-$pkgver"
18   python setup.py build
21 package() {
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