summaryrefslogtreecommitdiff
path: root/python-editor/PKGBUILD
blob: 5617ba17a343e4890e15981983747106659e4627 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Submitter: Kevin Brubeck Unhammer <unhammer@fsfe.org>
# Maintainer: Erich Eckner <arch at eckner dot net>

pkgname=python-editor
pkgver=0.4
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://pypi.python.org/packages/source/p/${pkgname}/${pkgname}-${pkgver}.tar.gz")
md5sums=('30de680ec944d073e0c3f18b44d5aa15')

build() {
    cd $srcdir/${pkgname}-${pkgver}
    python setup.py build
}

package() {
    cd $srcdir/${pkgname}-${pkgver}
    python setup.py install --root="$pkgdir"
}