PKGBUILDs/aur/python2-configshell/PKGBUILD

34 lines
877 B
Bash
Raw Normal View History

2011-10-18 03:02:13 +00:00
# Contributor: Johannes Dewender arch at JonnyJD dot net
pkgname=python2-configshell
2013-10-11 17:15:47 +00:00
pkgver=1.2
pkgrel=1
2012-03-12 21:03:00 +00:00
epoch=
2011-10-18 03:02:13 +00:00
pkgdesc="python framework for building simple CLI-based applications"
arch=('any')
url="http://www.risingtidesystems.com/git/?p=configshell.git;a=summary"
2013-10-11 17:15:47 +00:00
license=('Apache')
2012-03-12 21:03:00 +00:00
depends=('python2-simpleparse' 'python2-urwid' 'epydoc')
provides=()
conflicts=()
options=()
source=()
md5sums=()
_pkgname=configshell
2011-10-18 03:02:13 +00:00
build() {
2012-03-12 21:03:00 +00:00
if [ ! -e "$_pkgname-$pkgver.tgz" ]; then
2013-10-11 17:15:47 +00:00
curl -flC - "http://www.risingtidesystems.com/git/?p=$_pkgname.git;a=snapshot;h=5fcb00e77153b6a9e188c00a06d88783e7d273f7;sf=tgz" -o "$_pkgname-$pkgver.tgz"
2012-03-12 21:03:00 +00:00
fi
bsdtar -xf "$srcdir/$_pkgname-$pkgver.tgz"
2011-10-18 03:02:13 +00:00
cd "$srcdir/$_pkgname"
python2 setup.py build
}
package() {
cd "$srcdir/$_pkgname"
python2 setup.py install --skip-build --root="$pkgdir/" --optimize=1
}
2012-03-12 21:03:00 +00:00
# vim:set ts=2 sw=2 et: