void-packages/srcpkgs/mpv-mpris/template

23 lines
622 B
Bash

# Template file for 'mpv-mpris'
pkgname=mpv-mpris
version=0.1
revision=1
build_style=gnu-makefile
make_use_env=yes
hostmakedepends="pkg-config"
makedepends="libglib-devel mpv-devel"
depends="mpv"
short_desc="MPRIS plugin for mpv"
maintainer="Alif Rachmawadi <arch@subosito.com>"
license="MIT"
homepage="https://github.com/hoyon/mpv-mpris"
distfiles="https://github.com/hoyon/mpv-mpris/archive/v${version}.tar.gz"
checksum=47afa6064fdd7552079d1574644bb1b16b782e96ed6aeebe24269e00b90a381b
make_build_target="mpris.so"
do_install() {
vlicense LICENSE
vmkdir usr/lib/${pkgname}
vinstall mpris.so 0644 usr/lib/${pkgname}
}