PKGBUILDs/aur/python2-configshell/PKGBUILD

34 lines
876 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
pkgver=1.1
2013-03-17 21:07:51 +00:00
pkgrel=5
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"
license=('AGPL3')
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-03-17 21:07:51 +00:00
curl -flC - "http://www.risingtidesystems.com/git/?p=$_pkgname.git;a=snapshot;h=3ba5560219d7ae8545ce825f4ba778b5c2c90893;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: