summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6cc17a25615408f0bbee01f5900ef2bcf96f4b9a (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
# Maintainer: Brian Bidulock <bidulock@openss7.org>
# Contributor: Leonid Selivanov <bravebug at gmail dot com>

pkgname=retrovol-git
pkgver=0.14.1.r0.g4649279
pkgrel=3
pkgdesc="A sound volume mixer"
arch=(i686 x86_64)
license=('GPL' 'LGPL')
url="https://github.com/pizzasgood/retrovol"
depends=('gtk2' 'alsa-lib')
makedepends=('git')
provides=('retrovol')
conflicts=('retrovol')
source=("$pkgname::git+https://github.com/pizzasgood/retrovol.git")
md5sums=('SKIP')

pkgver() {
  cd $pkgname
  git describe --tags --long | sed -r 's,^v,,;s,-,.r,;s,[-_],.,g'
}
prepare() {
  cd $pkgname
  autoreconf -fiv
}
build() {
  cd $pkgname
  ./configure --prefix=/usr --sysconfdir=/etc
  make
}
package() {
  cd $pkgname
  make DESTDIR="$pkgdir" install
}