summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8f5e0c4a9294d02fcf53a46e069ce18da98c3278 (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=jacknotifier-git
pkgver=11.0de9ea9
pkgrel=1
pkgdesc="Headphones Jack Notification Daemon"
arch=('i686' 'x86_64')
url="https://github.com/gentoo-root/jacknotifier"
license=('GPL3')
provides=('jacknotifier')
depends=('dbus' 'libnotify' 'jacklistener-git')
makedepends=('git')
source=('jacknotifier::git+https://github.com/gentoo-root/jacknotifier.git')

build() {
  cd jacknotifier
  make
}

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

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

sha256sums=('SKIP')