summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ae3132d7520639103184e3965c273ca7351f132a (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=musicpaused-git
pkgver=8.c8a4f14
pkgrel=1
pkgdesc="Pause music when headphones are unplugged"
arch=('i686' 'x86_64')
url="https://github.com/gentoo-root/musicpaused"
license=('GPL3')
provides=('musicpaused')
depends=('dbus' 'jacklistener-git')
makedepends=('git')
source=('musicpaused::git+https://github.com/gentoo-root/musicpaused.git')


build() {
  cd musicpaused
  make
}

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

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

sha256sums=('SKIP')