summaryrefslogtreecommitdiff
path: root/python-editor/PKGBUILD
blob: 1a0b844cfb046c0bd59418eccf9dafd23fb65c6c (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=1.0
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=('014c063a3dcf123e563a398e545b7d5770c6e56a79870a1007adbc0a79a34d4601ea9df68183d9522c2ca4d8dca6135c8c7bb9c2b94c1f9ba4876136fcafc0bd')

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

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