blob: 13a57ce722364d2499381214cc8f6d0538826950 (
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: Laurence Willetts <laurencewilletts at protonmail dot com>
pkgname=mpvc-git
pkgver=1.3.r24.g6890b36
pkgrel=1
pkgdesc='A mpc-like control interface for mpv.'
url='https://github.com/lwilletts/mpvc'
arch=('i686' 'x86_64')
license=('MIT')
depends=('mpv' 'socat' 'bc')
provides=('mpvc')
source=("git+$url")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/mpvc"
git describe --long --tags | sed -r 's/^v//g;s/([^-]*-g)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/mpvc"
}
package() {
prefix="/usr"
cd "$srcdir/mpvc"
make DESTDIR="$pkgdir" PREFIX="$prefix" install
}
|