summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian B2018-05-11 13:44:28 +0200
committerFlorian B2018-05-11 13:44:28 +0200
commit98833551ad6d047eb2c8d7e95f373cc1747e3d54 (patch)
tree14fc27dd154afb0f3ec8d6a41ee0396bf9069680
downloadaur-98833551ad6d047eb2c8d7e95f373cc1747e3d54.tar.gz
initial commit for powerline-shell pkg
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD25
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e37fdd6f573
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = powerline-shell
+ pkgdesc = A pretty prompt for your shell
+ pkgver = 0.5.4
+ pkgrel = 1
+ url = https://github.com/b-ryan/powerline-shell
+ arch = any
+ license = MIT
+ depends = python
+ provides = powerline-shell
+ source = powerline-shell-0.5.4::https://github.com/b-ryan/powerline-shell/archive/master.tar.gz
+ md5sums = 8e33b7a891816a0c58d84159f79b124b
+
+pkgname = powerline-shell
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..836ef46b9cf
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Florian B.
+
+pkgname="powerline-shell"
+pkgver=0.5.4
+pkgrel=1
+pkgdesc="A pretty prompt for your shell"
+arch=("any")
+url="https://github.com/b-ryan/powerline-shell"
+license=("MIT")
+provides=("${pkgname}")
+depends=("python")
+source=(
+ "${pkgname}-${pkgver}::${url}/archive/master.tar.gz"
+)
+md5sums=('8e33b7a891816a0c58d84159f79b124b')
+
+prepare() {
+ cd "${srcdir}"
+ mv "${pkgname}-master" "${pkgname}"
+}
+
+package() {
+ cd "${srcdir}/${pkgname}"
+ python setup.py install --root="${pkgdir}" --optimize=1
+}