summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ca8622ca3b6fda5caca83090b97aff01f131a593 (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
# Maintainer: qlonik <volodin.n at gmail dot com>

pkgname=python-readlike
pkgver=0.1.2
pkgrel=1
pkgdesc="GNU Readline-like line editing module"
url="http://jangler.info/code/readlike"
depends=('python')
makedepends=('python-setuptools')
license=('MIT')
arch=('any')
source=("https://pypi.python.org/packages/source/r/readlike/readlike-$pkgver.tar.gz")
md5sums=('26caff8f77a1646996a3bd303c79ce18')

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

package() {
    cd $srcdir/readlike-$pkgver
    python setup.py install --root="$pkgdir" --optimize=1
    install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}