summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 929b802f4905221767594349c2ed1ea21a3c09c5 (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://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)
}

md5sums=('SKIP')