aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO28
-rw-r--r--PKGBUILD43
2 files changed, 71 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 0000000..ffcd1e5
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,28 @@
+# Generated by makepkg 4.2.1
+# Mon Jun 1 14:57:51 UTC 2015
+pkgbase = bemenu-git
+ pkgdesc = Dynamic menu library and client program inspired by dmenu
+ pkgver = r201.c2eabf2
+ pkgrel = 1
+ url = https://github.com/Cloudef/bemenu
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ license = LGPL3
+ makedepends = git
+ makedepends = cmake
+ makedepends = libxkbcommon
+ makedepends = libxinerama
+ makedepends = wayland
+ depends = pango
+ optdepends = wayland: For the wayland backend.
+ optdepends = libxkbcommon: For the wayland backend.
+ optdepends = libxinerama: For the x11 backend.
+ optdepends = ncurses: For the curses backend.
+ provides = bemenu
+ conflicts = bemenu
+ source = git+https://github.com/Cloudef/bemenu
+ md5sums = SKIP
+
+pkgname = bemenu-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..d2df7cd
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,43 @@
+pkgname=bemenu-git
+pkgver=r201.c2eabf2
+pkgrel=1
+
+pkgdesc='Dynamic menu library and client program inspired by dmenu'
+url='https://github.com/Cloudef/bemenu'
+license=('GPL3' 'LGPL3')
+arch=('i686' 'x86_64')
+
+depends=('pango')
+makedepends=('git' 'cmake' 'libxkbcommon' 'libxinerama' 'wayland')
+optdepends=('wayland: For the wayland backend.'
+ 'libxkbcommon: For the wayland backend.'
+ 'libxinerama: For the x11 backend.'
+ 'ncurses: For the curses backend.')
+
+provides=('bemenu')
+conflicts=('bemenu')
+
+source=('git+https://github.com/Cloudef/bemenu')
+
+md5sums=('SKIP')
+
+pkgver() {
+ cd bemenu
+ printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git describe --always)"
+}
+
+build() {
+ cd bemenu
+ cmake -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+check() {
+ cd bemenu
+ make test
+}
+
+package() {
+ cd bemenu
+ make DESTDIR="$pkgdir" install
+}