summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD29
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..73835d6a69a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = mauncher-git
+ pkgdesc = A dmenu-like launcher for Wayland.
+ pkgver = r14.cc224e2
+ pkgrel = 1
+ url = https://github.com/mortie/mauncher
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = git
+ makedepends = meson
+ makedepends = ninja
+ makedepends = make
+ depends = gtk3
+ depends = gobject-introspection
+ provides = mauncher
+ source = git+https://github.com/mortie/mauncher.git
+ md5sums = SKIP
+
+pkgname = mauncher-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b003230da00
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Martin Dørum <martid0311@gmail.com>
+_gitname=mauncher
+pkgname="$_gitname-git"
+pkgver=r14.cc224e2
+pkgrel=1
+pkgdesc="A dmenu-like launcher for Wayland."
+arch=('i686' 'x86_64')
+url="https://github.com/mortie/$_gitname"
+license=('GPL')
+depends=('gtk3' 'gobject-introspection')
+makedepends=('git' 'meson' 'ninja' 'make')
+provides=('mauncher')
+source=("git+https://github.com/mortie/$_gitname.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/$_gitname"
+ echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$srcdir/$_gitname"
+ make
+}
+
+package() {
+ cd "$srcdir/$_gitname"
+ DESTDIR="$pkgdir" PREFIX=/usr make install
+}