summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b440a982e60d2cdb1b66700ac09db0ac48ade89a (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
26
27
28
29
30
31
32
33
34
35
# Maintainer: Agustin Cisneros <agustincc@tutanota.com>
# Contributor: Dave Reisner <d@falconindy.com>

pkgname=ponymix-git
_pkgname=ponymix
pkgver=5.r4.g83c6557
pkgrel=1
pkgdesc="CLI PulseAudio Volume Control"
arch=('i686' 'x86_64')
url="http://github.com/falconindy/ponymix"
license=('MIT')
depends=('pulseaudio' 'libnotify')
makedepends=('git')
conflicts=('ponymix')
provides=('ponymix')
source=("${_pkgname}::git+https://github.com/falconindy/ponymix.git")
sha256sums=('SKIP')

pkgver() {
  cd "${srcdir}/${_pkgname}"
  git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd "${srcdir}/${_pkgname}"
  make
}

package() {
  cd "${srcdir}/${_pkgname}"
  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
  make DESTDIR="${pkgdir}" install
}

# vim: ft=sh syn=sh et