summaryrefslogtreecommitdiff
path: root/python-editor/PKGBUILD
blob: 8bec6bc4f0220928f54df7dffcc381260809803e (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.3
pkgrel=2
pkgdesc="Programmatically open an editor, capture the result"
url="https://github.com/fmoo/python-editor"
depends=('python>=3.6' 'python<3.7')
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"
}