summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b33d379f75bf5d87a91fe8d6253aea7032694abd (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.r6.g242e97f
pkgrel=1
pkgdesc="CLI PulseAudio Volume Control"
arch=('i686' 'x86_64')
url="http://github.com/falconindy/ponymix"
license=('MIT')
depends=('pulse-native-provider' '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