summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMichael Straube2018-10-31 16:45:12 +0100
committerMichael Straube2018-10-31 16:45:12 +0100
commite2d196f17d1cb5ddabb1cbfea218e482a255c237 (patch)
tree9503e28ce39cd7ca8a536d394908d8dae1bae1ea /PKGBUILD
parentdbd6b0c4a63d2840b071fa11b9367f6f279238b7 (diff)
downloadaur-powerline-shell.tar.gz
Use latest release instead of git master
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD37
1 files changed, 13 insertions, 24 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 023a7ecca97..3342553af47 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,30 +1,19 @@
-# Maintainer: Florian B.
+# Maintainer: Florian B.
-pkgname="powerline-shell-git"
-_pkgname="powerline-shell"
-pkgver=r3.3c5ca0c
+pkgname=powerline-shell
+pkgver=0.5.4
pkgrel=1
pkgdesc="A pretty prompt for your shell"
-arch=("any")
-_giturl="://github.com/b-ryan/powerline-shell"
-url="https${_giturl}"
-license=("MIT")
-provides=("${_pkgname}")
-depends=("python")
-makedepends=(
- "git" "python-setuptools"
-)
-source=(
- "git${_giturl}.git"
-)
-md5sums=('SKIP')
-
-pkgver() {
- cd "$(pkgname)"
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
-}
+arch=('any')
+url="https://github.com/b-ryan/powerline-shell"
+license=('MIT')
+depends=('python' 'python-argparse')
+makedepends=('python-setuptools')
+source=("https://github.com/b-ryan/powerline-shell/archive/v$pkgver.tar.gz")
+sha256sums=('6bfd04113d8470132e447f4cc6b5f2c4522b0aaf374652e9b9bd2a3bb4eac329')
package() {
- cd "${srcdir}/${_pkgname}"
- python setup.py install --root="${pkgdir}" --optimize=1
+ cd $pkgname-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE
}