blob: a39f84866244d31b7ac85d87f1c64f168168c469 (
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
|
# Maintainer: neeshy <neeshy@tfwno.gf>
pkgname=mpvc
pkgver=1.4.0
pkgrel=1
pkgdesc="An mpc-like CLI tool for mpv"
arch=('x86_64')
url="https://github.com/neeshy/mpvc"
license=('GPL3')
depends=('mpv')
makedepends=('cargo')
source=("https://github.com/neeshy/mpvc/archive/v$pkgver.tar.gz")
sha256sums=('f91d97776426ddfbe388f44dea1ece301639010d1f842e0120980403a4e08ce6')
build() {
cd "$srcdir/$pkgname-$pkgver"
cargo build -r --bins --examples
}
package() {
cd "$srcdir/$pkgname-$pkgver"
install -Dm755 target/release/mpvc "$pkgdir/usr/bin/mpvc"
install -Dm755 target/release/examples/mpvc-polybar "$pkgdir/usr/bin/mpvc-polybar"
install -Dm755 examples/mpvc-fzf "$pkgdir/usr/bin/mpvc-fzf"
}
|