summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorOmeGa2015-07-08 02:03:29 -0500
committerOmeGa2015-07-08 02:03:29 -0500
commit7535a246536e297f9bbe238a49444cfa082c4871 (patch)
tree5b1ee0e426f642e6d7f95602cb8fe9ee48a1ee64
downloadaur-7535a246536e297f9bbe238a49444cfa082c4871.tar.gz
Initial import
-rw-r--r--.SRCINFO24
-rw-r--r--PKGBUILD38
2 files changed, 62 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..902d1eb98cb
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,24 @@
+pkgbase = i3status-mpd-git
+ pkgdesc = Generates a status bar to use with i3bar, dzen2 or xmobar (with mpd support).
+ pkgver = r401.0e4c207
+ pkgrel = 1
+ url = https://github.com/Gravemind/i3status
+ arch = i686
+ arch = x86_64
+ license = BSD
+ makedepends = asciidoc
+ makedepends = git
+ depends = alsa-lib
+ depends = confuse
+ depends = libmpdclient
+ depends = wireless_tools
+ depends = yajl
+ provides = i3status
+ conflicts = i3status
+ conflicts = i3status-git
+ backup = etc/i3status.conf
+ source = i3status-mpd-git::git://github.com/Gravemind/i3status.git
+ sha1sums = SKIP
+
+pkgname = i3status-mpd-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..33f57188f6d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: OmeGa <omega [U+0040] mailoo [.] org>
+# Contributor: Suhaimi Ghazali <serdotlinecho@gmail.com>
+
+pkgname=i3status-mpd-git
+pkgver=r401.0e4c207
+pkgrel=1
+pkgdesc="Generates a status bar to use with i3bar, dzen2 or xmobar (with mpd support)."
+arch=('i686' 'x86_64')
+url="https://github.com/Gravemind/i3status"
+license=('BSD')
+depends=('alsa-lib' 'confuse' 'libmpdclient' 'wireless_tools' 'yajl')
+makedepends=('asciidoc' 'git')
+provides=('i3status')
+conflicts=('i3status' 'i3status-git')
+backup=('etc/i3status.conf')
+source=("$pkgname"::'git://github.com/Gravemind/i3status.git')
+sha1sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/$pkgname"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$srcdir/$pkgname"
+ sed -i 's/git describe --tags --abbrev=0/git rev-list --count HEAD/' Makefile
+
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et: