summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 11aadbb5aba53caf15e2ebe162e1b00d63f87ea9 (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
# Maintainer: Tudor Roman <xenogenesis at openmailbox dot org>
pkgname=mpvc-git
pkgver=r89.dfaac20
pkgrel=1

pkgdesc='A mpc-like control interface for mpv.'
url='https://github.com/wildefyr/mpvc'
arch=('i686' 'x86_64')
license=('MIT')

depends=('mpv' 'socat')

provides=('mpvc')

source=('git://github.com/wildefyr/mpvc')

md5sums=('SKIP')

pkgver() {
  cd mpvc
  printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd mpvc
}

package() {
  cd mpvc
  mkdir -p "$pkgdir/usr/bin"
  make DESTDIR="$pkgdir" PREFIX="/usr" install
}