void-packages/srcpkgs/mpv-mpris/template

23 lines
618 B
Bash

# Template file for 'mpv-mpris'
pkgname=mpv-mpris
version=0.5
revision=2
build_style=gnu-makefile
make_build_target=mpris.so
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/${version}.tar.gz"
checksum=673aff031e7cc741edea68d7b4b0103d7b031d4a55755abb9e1be5dd4ec4e969
do_install() {
vlicense LICENSE
vdoc README.md
vmkdir usr/lib/${pkgname}
vinstall mpris.so 0644 usr/lib/${pkgname}
}