summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: df722e40dcc9208136704d26e8b7cfccc300f11f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Jurica Bradaric <jbradaric@gmail.com>
pkgname=python-editrepl
pkgver=2013.06.20
pkgrel=1
pkgdesc="Runs a terminal based editor inside your REPL session"
arch=(any)
url="https://github.com/philipbjorge/EditREPL"
license=('custom: BSD')
makedepends=('python' 'python-setuptools')

source=("https://pypi.python.org/packages/source/E/EditREPL/EditREPL-$pkgver.tar.gz")
sha256sums=('2cf966b27768389c82d4197a1df9c37c2b25ac6c4a019468168e93069637fdbb')

build() {
    cd "$srcdir/EditREPL-$pkgver"
    python3 setup.py build
}

package() {
    cd "$srcdir/EditREPL-$pkgver"
    python3 setup.py install --root="$pkgdir" --optimize=1
    install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}