summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Straube2018-10-31 16:45:12 +0100
committerMichael Straube2018-10-31 16:45:12 +0100
commite2d196f17d1cb5ddabb1cbfea218e482a255c237 (patch)
tree9503e28ce39cd7ca8a536d394908d8dae1bae1ea
parentdbd6b0c4a63d2840b071fa11b9367f6f279238b7 (diff)
downloadaur-powerline-shell.tar.gz
Use latest release instead of git master
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD37
2 files changed, 18 insertions, 28 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b80eb8fa333..cac473b8894 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,15 @@
pkgbase = powerline-shell
pkgdesc = A pretty prompt for your shell
- pkgver = r546.73b01d6
+ pkgver = 0.5.4
pkgrel = 1
url = https://github.com/b-ryan/powerline-shell
arch = any
license = MIT
+ makedepends = python-setuptools
depends = python
- provides = powerline-shell
- source = git://github.com/b-ryan/powerline-shell.git
- md5sums = SKIP
+ depends = python-argparse
+ source = https://github.com/b-ryan/powerline-shell/archive/v0.5.4.tar.gz
+ sha256sums = 6bfd04113d8470132e447f4cc6b5f2c4522b0aaf374652e9b9bd2a3bb4eac329
pkgname = powerline-shell
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
}