# Submitter: Kevin Brubeck Unhammer # Maintainer: Erich Eckner pkgname=python-editor pkgver=1.0.3 pkgrel=1 pkgdesc="Programmatically open an editor, capture the result" url="https://github.com/fmoo/python-editor" depends=('python' ) makedepends=('python-setuptools') license=('Apache') arch=('any') source=("https://github.com/fmoo/${pkgname}/archive/${pkgver}.tar.gz") sha512sums=('0b14462099f8c5a3a7517f0f0cb744470284c34d164483bc58b15ecf4c5484090149d5dcb923b932a41857cfa34d4f10e4238ccc20089804a14631a459b63a39') build() { cd $srcdir/${pkgname}-${pkgver} python setup.py build } package() { cd $srcdir/${pkgname}-${pkgver} python setup.py install --root="$pkgdir" }