summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAxel Parra2015-06-11 23:00:41 -0500
committerAxel Parra2015-06-11 23:00:41 -0500
commit6a971eef7e587534fa4a2918cf18aa70d06f3862 (patch)
tree06c80ddfdfcf72f595c4690b03be383f80ff8efc
downloadaur-6a971eef7e587534fa4a2918cf18aa70d06f3862.tar.gz
Initial import
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD32
2 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..6e2d6a62c72
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = lemonbar-git
+ pkgdesc = A featherweight, lemon-scented, bar based on xcb.
+ pkgver = 170.25c3441
+ pkgrel = 1
+ url = https://github.com/LemonBoy/bar
+ arch = i686
+ arch = x86_64
+ license = MIT
+ makedepends = git
+ depends = libxcb
+ provides = lemonbar
+ conflicts = lemonbar-xft-git
+ conflicts = bar-aint-recursive-git
+ conflicts = bar-aint-recursive-xft-git
+ source = bar::git+https://github.com/Lemonboy/bar.git#branch=master
+ sha256sums = SKIP
+
+pkgname = lemonbar-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..12c3a4ca08f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Axel Parra <axel.pc@openmailbox.org>
+
+pkgname=lemonbar-git
+_pkgname=bar
+pkgver=170.25c3441
+pkgrel=1
+pkgdesc="A featherweight, lemon-scented, bar based on xcb."
+arch=('i686' 'x86_64')
+url="https://github.com/LemonBoy/bar"
+license=('MIT')
+depends=('libxcb')
+makedepends=('git')
+provides=('lemonbar')
+conflicts=('lemonbar-xft-git' 'bar-aint-recursive-git' 'bar-aint-recursive-xft-git')
+source=("$_pkgname::git+https://github.com/Lemonboy/bar.git#branch=master")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/$_pkgname"
+ echo $(git rev-list --count master).$(git rev-parse --short master)
+}
+
+build() {
+ cd "$srcdir/$_pkgname"
+ make
+}
+
+package() {
+ cd "$srcdir/$_pkgname"
+ make PREFIX=/usr DESTDIR="$pkgdir" install
+ install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}