blob: 077a3df325f4fd17e130dfb781620f7f7a4d1fe1 (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Maintainer: spider-mario <spidermario@free.fr>
# Contributor: Andrzej Giniewicz <gginiu@gmail.com>
pkgname=rubber-git
pkgver=1.5.1.r902.a391fa2
pkgrel=1
epoch=1
pkgdesc="A wrapper for LaTeX and friends, latest git version."
arch=('any')
url="https://launchpad.net/rubber"
license=('GPL')
depends=('python' 'texlive-core')
makedepends=('git' 'texinfo' 'texlive-plainextra')
provides=('rubber')
conflicts=('rubber')
replaces=('rubber-darcs' 'rubber-bzr')
source=('rubber::git+https://git.launchpad.net/rubber')
sha512sums=('SKIP')
pkgver() {
cd rubber
printf "%s.r%d.%s" \
"$(perl -ne 'if (/^Version (?<v>[\d\.]+)/a) {print $+{v}; last}' NEWS)" \
"$(git rev-list --count HEAD)" \
"$(git rev-parse --short HEAD)"
}
build() {
cd rubber
python setup.py build
}
package() {
cd rubber
python setup.py install \
--prefix=/usr \
--root="$pkgdir" \
--optimize=1 \
--mandir=share/man \
--infodir=share/info
}
|