mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
36 lines
881 B
Bash
36 lines
881 B
Bash
# Contributor: Johannes Dewender arch at JonnyJD dot net
|
|
|
|
plugrel=1
|
|
|
|
pkgname=python2-configshell
|
|
pkgver=1.1
|
|
pkgrel=4
|
|
epoch=
|
|
pkgdesc="python framework for building simple CLI-based applications"
|
|
arch=('any')
|
|
url="http://www.risingtidesystems.com/git/?p=configshell.git;a=summary"
|
|
license=('AGPL3')
|
|
depends=('python2-simpleparse' 'python2-urwid' 'epydoc')
|
|
provides=()
|
|
conflicts=()
|
|
options=()
|
|
source=()
|
|
md5sums=()
|
|
|
|
_pkgname=configshell
|
|
|
|
build() {
|
|
if [ ! -e "$_pkgname-$pkgver.tgz" ]; then
|
|
wget "http://www.risingtidesystems.com/git/?p=$_pkgname.git;a=snapshot;h=3ba5560219d7ae8545ce825f4ba778b5c2c90893;sf=tgz" -O "$_pkgname-$pkgver.tgz"
|
|
fi
|
|
bsdtar -xf "$srcdir/$_pkgname-$pkgver.tgz"
|
|
cd "$srcdir/$_pkgname"
|
|
python2 setup.py build
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$_pkgname"
|
|
python2 setup.py install --skip-build --root="$pkgdir/" --optimize=1
|
|
}
|
|
|
|
# vim:set ts=2 sw=2 et:
|