summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a9dbc27788916008cb56602cfb4225b678ce2e6a (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
36
# Maintainer: Valère Monseur <valere dot monseur at ymail dot com>

pkgname=volumeicon-git
pkgver=0.r46.9e3755f
pkgrel=2
pkgdesc='Volume control for your system tray'
arch=('x86_64' 'i686')
url="http://softwarebakery.com/maato/volumeicon.html"
license=('GPL3')
depends=('gtk3' 'alsa-lib' 'libnotify' 'intltool')
makedepends=('git')
source=("${pkgname}"::'git+https://github.com/Maato/volumeicon.git')
md5sums=('SKIP')

conflicts=('volumeicon')
replaces=('volumeicon')

pkgver() {
  cd "${srcdir}/${pkgname}"

  printf "0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd "${srcdir}/${pkgname}"

  ./autogen.sh
  ./configure --prefix=/usr --enable-notify
  make
}

package() {
  cd "${srcdir}/${pkgname}"

  make DESTDIR="${pkgdir}" install
}