summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD25
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..84445b3d560
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+# Generated by mksrcinfo v8
+# Fri Mar 24 20:02:05 UTC 2017
+pkgbase = volatile-git
+ pkgdesc = Simple ALSA status icon and volume control
+ pkgver = 0.19.b9ab55c
+ pkgrel = 1
+ url = https://github.com/gavinhungry/volatile
+ arch = any
+ license = MIT
+ makedepends = git
+ depends = pygtk
+ depends = python2-pyalsaaudio
+ source = volatile-git::git+https://github.com/gavinhungry/volatile.git#branch=master
+ sha256sums = SKIP
+
+pkgname = volatile-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7a28a7a1114
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Gavin Lloyd <gavinhungry@gmail.com>
+
+pkgname=volatile-git
+pkgver=0.19.b9ab55c
+pkgrel=1
+pkgdesc="Simple ALSA status icon and volume control"
+url="https://github.com/gavinhungry/volatile"
+license=('MIT')
+arch=('any')
+makedepends=('git')
+depends=('pygtk' 'python2-pyalsaaudio')
+source=("${pkgname}::git+${url}.git#branch=master")
+sha256sums=('SKIP')
+
+pkgver () {
+ cd "${srcdir}/${pkgname}"
+ echo "0.$(git rev-list --count HEAD).$(git describe --always | sed 's|-|.|g')"
+}
+
+package() {
+ cd "${srcdir}/${pkgname}"
+ mkdir -p ${pkgdir}/usr/bin
+
+ install -m 755 volatile.py ${pkgdir}/usr/bin/volatile
+}