summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian B2018-05-11 14:32:36 +0200
committerFlorian B2018-05-11 14:32:36 +0200
commitdbd6b0c4a63d2840b071fa11b9367f6f279238b7 (patch)
tree745137bf5289141eb970f9329fe94eb474d2c3af
parent3c5ca0c53a2747d421600082bbf0490d65aca557 (diff)
downloadaur-dbd6b0c4a63d2840b071fa11b9367f6f279238b7.tar.gz
add makedepends
-rw-r--r--PKGBUILD18
1 files changed, 8 insertions, 10 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 310ba7861aa..023a7ecca97 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,18 +1,21 @@
# Maintainer: Florian B.
-pkgname="powerline-shell"
-pkgver=r546.73b01d6
+pkgname="powerline-shell-git"
+_pkgname="powerline-shell"
+pkgver=r3.3c5ca0c
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}")
+provides=("${_pkgname}")
depends=("python")
+makedepends=(
+ "git" "python-setuptools"
+)
source=(
"git${_giturl}.git"
- #${pkgname}-${pkgver}::${url}/archive/master.tar.gz"
)
md5sums=('SKIP')
@@ -21,12 +24,7 @@ pkgver() {
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
-prepare() {
- cd "${srcdir}"
- mv "${pkgname}-master" "${pkgname}"
-}
-
package() {
- cd "${srcdir}/${pkgname}"
+ cd "${srcdir}/${_pkgname}"
python setup.py install --root="${pkgdir}" --optimize=1
}