PKGBUILDs/aur/python2-simpleparse/PKGBUILD
2011-10-17 23:01:30 -04:00

26 lines
781 B
Bash

# Contributor: Roberto Alsina <ralsina@kde.org>
# Updated to 2.1.1a2 by Fabio Varesano <fvaresano@yahoo.it>
# Maintainer: Martti Kühne <mysatyre@gmail.com>
plugrel=1
pkgname=python2-simpleparse
_pkgname=SimpleParse
pkgver=2.1.1a2
pkgrel=1
pkgdesc="A simple and fast parser generator"
arch=('i686' 'x86_64')
url="http://simpleparse.sourceforge.net"
license=('custom')
depends=('python2')
makedepends=('python2-distribute')
source=("http://downloads.sourceforge.net/simpleparse/$_pkgname-$pkgver.tar.gz")
md5sums=('9c4e13b4f9b087442f76e7382ba97e3b')
build() {
cd $srcdir/$_pkgname-$pkgver
python2 setup.py bdist_dumb
install -D license.txt $pkgdir/usr/share/licenses/$pkgname/COPYING
cd $pkgdir
tar xzvf $srcdir/$_pkgname-$pkgver/dist/$_pkgname-$pkgver.linux*.tar.gz
}