summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 77d358e1a9deb2b311682ba5a36f84c87de7e267 (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: robertfoster

pkgname=jackeventcmd-git
pkgver=2.fd76b9a
pkgrel=1
pkgdesc="Run custom commands when headphones are (un)plugged"
arch=('i686' 'x86_64')
url="https://github.com/gentoo-root/jackeventcmd"
license=('GPL3')
provides=('jackeventcmd')
depends=('dbus' 'jacklistener')
makedepends=('git')
source=('jackeventcmd::git://github.com/gentoo-root/jackeventcmd.git')

build() {
  cd jackeventcmd
  make
}

package() {
  cd jackeventcmd
   make DESTDIR="$pkgdir" install
}

pkgver() {
  cd jackeventcmd
  echo $(git rev-list --count master).$(git rev-parse --short master)
}

md5sums=('SKIP')