diff options
author | mschubert | 2018-08-05 17:13:55 +0200 |
---|---|---|
committer | mschubert | 2018-08-05 17:13:55 +0200 |
commit | cb9be842846d2f216ccf5815334156e4f0361826 (patch) | |
tree | 70eba75547c68f8b1afef9cc9aa81365dd652154 /PKGBUILD | |
download | aur-cb9be842846d2f216ccf5815334156e4f0361826.tar.gz |
add python-lineedit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..edc6b0486f85 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Michael Schubert <mschu.dev at gmail> +pkgname=python-lineedit +_pkgname=${pkgname#python-} +pkgver=0.1.0 +pkgrel=1 +pkgdesc="a readline library based on prompt_toolkit which supports multiple modes" +url="https://github.com/randy3k/lineedit/archive/v$pkgver.tar.gz" +arch=('i686' 'x86_64') +license=('MIT') +depends=('readline' 'python-pygments' 'python-wcwidth' 'python-six') +makedepends=('python-setuptools') +source=("https://github.com/randy3k/lineedit/archive/v$pkgver.tar.gz") +sha256sums=('f54661ca6fe5c9f6812133f5c7c4f32a73359709a8a7f2046196ea02b839beb9') + +build() { + cd "$srcdir/$_pkgname-$pkgver" + python setup.py build +} + +package() { + cd "$srcdir/$_pkgname-$pkgver" + python setup.py install --skip-build --prefix=/usr --root="$pkgdir" --optimize=1 +} |