aboutsummaryrefslogtreecommitdiffstats
path: root/bash.d
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bash.d/PKGBUILD29
l---------bash.d/upload (renamed from dash-pipe/upload)0
2 files changed, 29 insertions, 0 deletions
diff --git a/bash.d/PKGBUILD b/bash.d/PKGBUILD
new file mode 100644
index 0000000..5110539
--- /dev/null
+++ b/bash.d/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Mattias Andrée <m@`base64 -d`(bWFhbmRyZWU).se>
+
+pkgname=bash.d
+pkgver=1564076224
+pkgrel=1
+pkgdesc="Subscripts for GNU Bash shells"
+url="https://github.com/GNU-Pony/bash.d"
+arch=(any)
+license=(GPL3)
+depends=(bash coreutils)
+optdepends=("libnotify: for alert.bash"
+ "sed: for palette.bash"
+ "git: for git branch in prompt.bash"
+ "acpi: for battery status in prompt.bash"
+ "featherweight: for featherweight status in prompt.bash")
+makedepends=(make findutils grep coreutils)
+source=("${url}/archive/${pkgver}.tar.gz")
+sha256sums=(4c22ee9708d56d437c768161e18fa464ef259807711c8aafe05e43540d59ba14)
+
+_prefix=/usr
+
+
+package() {
+ cd "${srcdir}/bash.d-${pkgver}"
+ make PREFIX=/usr PKGNAME=bash.d DESTDIR="${pkgdir}" install
+ _dir="${pkgdir}/usr/share/licenses/${pkgname}"
+ ln -sf -- "/usr/share/licenses/common/GPL3" "${_dir}/LICENSE"
+}
+
diff --git a/dash-pipe/upload b/bash.d/upload
index 1e7a8be..1e7a8be 120000
--- a/dash-pipe/upload
+++ b/bash.d/upload