summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cbb02e07d5cd3beb603a98b1102ff047c8e84c92 (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
# Maintainer: Alex Talker < alextalker at openmailbox dot org >
# Previous maintainer: Jeff Parent <jecxjo@sdf.lonestar.org>
_gitbase=pulsemixer
pkgname=${_gitbase}-git
pkgver=67.4a7417a
pkgrel=1
epoch=1
pkgdesc="cli and curses mixer for pulseaudio. Git version"
arch=('any')
url="https://github.com/GeorgeFilipkin/${_gitbase}"
license=('GPL3')
depends=('python' 'pulseaudio')
makedepends=('git')
conflicts=($_gitbase)
replaces=($_gitbase)
source=("git://github.com/GeorgeFilipkin/${_gitbase}.git")
md5sums=('SKIP')

pkgver() {
  cd "$_gitbase"
  echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

package() {
  cd "$srcdir/$_gitbase"
  install -m 755 -d "$pkgdir/usr/bin"
  install -m 755 pulsemixer "$pkgdir/usr/bin/"
}

# vim:set ts=2 sw=2 et: