summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Maslowski2015-06-13 06:08:50 +0200
committerDaniel Maslowski2015-06-13 06:08:50 +0200
commit26a25583307d7b49eef1e9d4f4eac655fbf5c8a0 (patch)
tree6822f106733af0c3bf94e4863ae813d5a1acea73
downloadaur-26a25583307d7b49eef1e9d4f4eac655fbf5c8a0.tar.gz
Initial import
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD47
2 files changed, 70 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..cca7c4a075c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+pkgbase = j4status-plugins-git
+ pkgdesc = Plugins for j4status
+ pkgver = 30.98a8146
+ pkgrel = 1
+ url = http://j4status.j4tools.org/j4status-plugins/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = git
+ makedepends = docbook-xsl
+ depends = glibc
+ depends = j4status
+ optdepends = alsa-lib: Audio status
+ optdepends = i3ipc-glib: i3 focus
+ provides = j4status-plugins
+ options = !libtool
+ source = git://github.com/j4tools/j4status-plugins.git
+ source = git://github.com/sardemff7/libgwater.git
+ sha256sums = SKIP
+ sha256sums = SKIP
+
+pkgname = j4status-plugins-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b6ff49e826d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,47 @@
+# Maintainer: Daniel Maslowski <info at orangecms dot org>
+pkgname=j4status-plugins-git
+_gitname=j4status-plugins
+pkgver=30.98a8146
+pkgrel=1
+pkgdesc="Plugins for j4status"
+arch=('i686' 'x86_64')
+url="http://j4status.j4tools.org/j4status-plugins/"
+license=('GPL')
+provides=('j4status-plugins')
+depends=('glibc' 'j4status')
+makedepends=('git' 'docbook-xsl')
+optdepends=('alsa-lib: Audio status'
+ 'i3ipc-glib: i3 focus')
+options=('!libtool')
+source=('git://github.com/j4tools/j4status-plugins.git'
+ 'git://github.com/sardemff7/libgwater.git')
+sha256sums=('SKIP'
+ 'SKIP')
+
+pkgver()
+{
+ cd "${srcdir}/${_gitname}"
+ echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
+}
+
+prepare()
+{
+ cd "${srcdir}/${_gitname}"
+ git submodule init
+ git config submodule.libgwater.url "${srcdir}/libgwater"
+ git submodule update
+}
+
+build()
+{
+ cd "${srcdir}/${_gitname}"
+ ./autogen.sh
+ ./configure --prefix=/usr
+ make
+}
+
+package()
+{
+ cd "${srcdir}/${_gitname}"
+ make DESTDIR=${pkgdir} install
+}