diff options
author | Valentin Hăloiu | 2017-10-15 12:42:14 +0200 |
---|---|---|
committer | Valentin Hăloiu | 2017-10-15 12:42:14 +0200 |
commit | 156b07e6f7df6afad8bd6515a833c12d2253f0e0 (patch) | |
tree | 7a405ab357799ecc7d67a26365ac92a7f9e4e050 | |
download | aur-156b07e6f7df6afad8bd6515a833c12d2253f0e0.tar.gz |
Release v0.0.5
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7aa9de585d2c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = volumectl + pkgdesc = A command line utility to control the volume + pkgver = 0.0.5 + pkgrel = 1 + url = https://github.com/vially/volumectl + arch = i686 + arch = x86_64 + license = MIT + makedepends = go + makedepends = git + depends = pulseaudio + depends = notify-osd + options = !strip + +pkgname = volumectl + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4867e5cf5734 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Valentin-Costel Haloiu <vially.ichb+aur@gmail.com> + +pkgname=volumectl +pkgver=0.0.5 +pkgrel=1 +pkgdesc="A command line utility to control the volume" +arch=('i686' 'x86_64') +url="https://github.com/vially/volumectl" +options=('!strip') +license=(MIT) +depends=('pulseaudio' 'notify-osd') +makedepends=('go' 'git') + +_gourl=github.com/vially/volumectl +_gitroot="https://github.com/vially/volumectl.git" + +build() { + export GOPATH="$srcdir" + go get -x -v ${_gourl} +} + +package() { + install -Dm755 "$srcdir/bin/$pkgname" "$pkgdir/usr/bin/$pkgname" + install -Dm644 "$srcdir/src/$_gourl/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} |