summaryrefslogtreecommitdiff
path: root/python-editor/PKGBUILD
blob: 87f782d60e7f0b325519e49793354668b3f5e5f0 (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.2
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=('7237d95ee3297b1cc620b900d625028b5f6f8f14510ce62dd2570ce33e295af99b292d4159acf5c3abcf508802ce194254bd7beac19d59401ad39f6d6c0bb402')

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

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