summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCrestwave2019-02-22 18:22:01 +0800
committerCrestwave2019-02-22 18:23:21 +0800
commite4e6ae75c5cb20ccc3dee6fbf84e9921e229fc55 (patch)
tree5d7b917e18b430a4474d10c301c3579ff7f8903e
downloadaur-shmenu-git.tar.gz
Initial commit
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD24
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c6e95949a12
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = shmenu-git
+ pkgdesc = Dynamic menu for the terminal written in pure bash
+ pkgver = r47.b6a494f
+ pkgrel = 1
+ url = https://github.com/Crestwave/shmenu
+ arch = any
+ license = MIT
+ makedepends = git
+ source = git+https://github.com/Crestwave/shmenu.git
+ sha256sums = SKIP
+
+pkgname = shmenu-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ba18687b1df
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Crestwave <crest.wave@yahoo.com>
+
+pkgname=shmenu-git
+pkgver=r47.b6a494f
+pkgrel=1
+pkgdesc="Dynamic menu for the terminal written in pure bash"
+arch=('any')
+url="https://github.com/Crestwave/shmenu"
+license=('MIT')
+makedepends=('git')
+source=("git+${url}.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/shmenu"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ cd "$srcdir/shmenu"
+ install -Dm755 -t "$pkgdir/usr/bin" shmenu
+ install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
+ install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+}