summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f7441ac8cf447a7b6a1d66a24e4a1b8585ade76f (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
# Maintainer: Clément Démoulins <clement@archivel.fr>

pkgname=pamixer-git
_realname=pamixer
pkgver=20191030
pkgrel=1
pkgdesc="Pulseaudio command-line mixer like amixer"
arch=('i686' 'x86_64')
url="https://github.com/cdemoulins/pamixer"
license=('GPL3')
depends=('libpulse' 'boost-libs')
makedepends=('git' 'boost')

source=(git+https://github.com/cdemoulins/pamixer.git)
md5sums=('SKIP')

pkgver() {
  cd "$srcdir/${_realname}"
  git log -1 --format="%cd" --date=short | tr -d '-'
}

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

package() {
  cd "$srcdir/${_realname}"
  install -D -m755 pamixer $pkgdir/usr/bin/pamixer
}

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