blob: b047ae2786d5bd015e92112a811c33d21606ba37 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Maintainer: Gavin Lloyd <gavinhungry@gmail.com>
pkgname=volatile-git
pkgver=0.33.64f5dbb
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")
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
}
|