summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAgustin Borgna2017-05-17 19:43:02 -0300
committerAgustin Borgna2017-05-17 19:43:02 -0300
commitb85c718eeeaa5d18e90fd191c12b547ced0d84bd (patch)
tree456448ffc1b0dfcc567cb399c55843ce00e73a65 /PKGBUILD
downloadaur-mmenu.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..189e7597c77
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Agustin Borgna <hello[at]aborgna.com.ar>
+
+pkgname=mmenu
+pkgver=r7.81130ed
+pkgrel=1
+pkgdesc="A dmenu wrapper which works like dmenu_run, but evaluates math you give it too"
+arch=('any')
+url="https://github.com/mortie/mmenu"
+license=('unknown')
+depends=('dmenu' 'python' 'xsel')
+makedepends=('git')
+
+source=('git://github.com/mortie/mmenu.git')
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/mmenu"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ cd "$srcdir"
+ install -Dm755 "mmenu/mmenu" "${pkgdir}/usr/bin/mmenu"
+}