summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Bidulock2015-12-17 16:04:06 -0700
committerBrian Bidulock2015-12-17 16:04:06 -0700
commit10a86b1e0bf52db3a50055df7cf0134df26fc3e4 (patch)
treeb9d8bde6124eae648891b590a6f3b7966a6a4eaf
downloadaur-10a86b1e0bf52db3a50055df7cf0134df26fc3e4.tar.gz
initial version
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD34
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7dfa55d99d3
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+# Generated by mksrcinfo v8
+# Thu Dec 17 23:04:05 UTC 2015
+pkgbase = cbatticon-gtk3-git
+ pkgdesc = A lightweight and fast battery icon that sits in your system tray
+ pkgver = 1.5.0.r4.g1e133ca
+ pkgrel = 1
+ url = https://github.com/valr/cbatticon
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ makedepends = git
+ depends = libnotify
+ depends = gtk3
+ provides = cbatticon
+ conflicts = cbatticon
+ source = cbatticon-gtk3-git::git+https://github.com/valr/cbatticon.git
+ md5sums = SKIP
+
+pkgname = cbatticon-gtk3-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f2d2e67943d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Brian Bidulock <bidulock@openss7.org>
+# Contributor: Colin Jones (xentalion) <colin@ergoeclectic.com>
+# Contributor: Valère Monseur <valere dot monseur at ymail dot com>
+
+_pkgname=cbatticon
+pkgname=cbatticon-gtk3-git
+pkgver=1.5.0.r4.g1e133ca
+pkgrel=1
+pkgdesc="A lightweight and fast battery icon that sits in your system tray"
+arch=('i686' 'x86_64')
+url="https://github.com/valr/cbatticon"
+license=('GPL2')
+depends=('libnotify' 'gtk3')
+makedepends=('git')
+provides=('cbatticon')
+conflicts=('cbatticon')
+
+source=("$pkgname::git+https://github.com/valr/cbatticon.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd ${pkgname}
+ git describe --long --tags | sed -r 's,^[^0-9]*,,;s,-([0-9][0-9]*),.r\1,;s,[-_],.,g'
+}
+
+build() {
+ cd ${pkgname}
+ make WITH_NOTIFY=1 WITH_GTK3=1
+}
+
+package() {
+ cd ${pkgname}
+ make PREFIX="${pkgdir}/usr" install
+}