summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD29
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ba4bb41ea75
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+pkgbase = bash.d
+ pkgdesc = Subscripts for GNU Bash shells
+ pkgver = 1417111665
+ pkgrel = 1
+ url = https://github.com/GNU-Pony/bash.d
+ arch = any
+ license = GPL3
+ makedepends = make
+ makedepends = findutils
+ makedepends = grep
+ makedepends = coreutils
+ depends = bash
+ depends = coreutils
+ optdepends = libnotify: for alert.bash
+ optdepends = sed: for palette.bash
+ optdepends = git: for git branch in prompt.bash
+ optdepends = acpi: for battery status in prompt.bash
+ optdepends = featherweight: for featherweight status in prompt.bash
+ source = https://github.com/GNU-Pony/bash.d/archive/1417111665.tar.gz
+ sha256sums = ca7adb6cc859cbd887d504f01ba29e22e2898ba2fb05ff78340b1f96b12e514f
+
+pkgname = bash.d
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..82ed273a5e9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
+
+pkgname=bash.d
+pkgver=1417111665
+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=(ca7adb6cc859cbd887d504f01ba29e22e2898ba2fb05ff78340b1f96b12e514f)
+
+_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"
+}
+