blob: e2f06631025eba1f1afe5e0f5d3a401ad403dd80 (
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
|
# Maintainer: willemw <willemw12@gmail.com>
_pkgname=python2-code-chat
pkgname=$_pkgname-hg
pkgver=r526.8536898ac3f4
pkgrel=1
pkgdesc="Source code to HTML translator (literate programming)"
arch=('any')
url="https://bitbucket.org/bjones/documentation/overview"
license=('GPL3')
depends=('python2-docutils')
makedepends=('mercurial' 'python2-setuptools')
provides=($_pkgname)
conflicts=($_pkgname)
source=($pkgname::hg+https://bitbucket.org/bjones/documentation)
md5sums=('SKIP')
pkgver() {
cd $pkgname
printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)"
}
prepare() {
cd $pkgname
sed -i 's/env python/env python2/' setup.py
}
package() {
cd $pkgname
python2 setup.py install --root="$pkgdir/" --optimize=1
}
|