diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-04-17 10:51:41 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-04-17 10:51:41 -0300 |
commit | 7c79db1e5f5d6e83387530dc8bad3963aa23fd26 (patch) | |
tree | 3c6b0a2218daf7237bd63ff4705ae833a4570fb9 /pcr | |
parent | 710a19e9bf8a3d6b34aa02c8ed5afed39e58f283 (diff) | |
download | abslibre-7c79db1e5f5d6e83387530dc8bad3963aa23fd26.tar.gz abslibre-7c79db1e5f5d6e83387530dc8bad3963aa23fd26.tar.bz2 abslibre-7c79db1e5f5d6e83387530dc8bad3963aa23fd26.zip |
python2-relatorio: fixing issues on PKGBUILD
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/python2-relatorio/PKGBUILD | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/pcr/python2-relatorio/PKGBUILD b/pcr/python2-relatorio/PKGBUILD index 30c24d3e0..bbfdb15f4 100644 --- a/pcr/python2-relatorio/PKGBUILD +++ b/pcr/python2-relatorio/PKGBUILD @@ -1,4 +1,5 @@ # Maintainer: Jakub Klinkovský <kuba.klinkovsky@gmail.com> +# Contributor (Parabola): André Silva <emulatorman@lavabit.com> pkgname=python2-relatorio pkgver=183 pkgrel=1 @@ -13,6 +14,22 @@ _hgroot="http://hg.openhex.org/" _hgrepo="relatorio" build() { + cd "$srcdir" + msg "Connecting to Mercurial server...." + + if [[ -d "$_hgrepo" ]]; then + cd "$_hgrepo" + hg pull -u + msg "The local files are updated." + else + hg clone "$_hgroot" "$_hgrepo" + fi + + msg "Mercurial checkout done or server timeout" +} + +package() { cd "$srcdir/$_hgrepo" + msg "Starting build..." python2 setup.py install --root=$pkgdir } |