summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f68749d00efc9aa4ff3e61fef3cbcc262776a527 (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=python2-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=('python2' 'python2-setuptools')

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

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

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