# Template file for 'uosc'
pkgname=uosc
version=5.13.0
revision=1
conf_files="/etc/mpv/script-opts/uosc.conf"
depends="mpv"
short_desc="Feature-rich minimalist proximity-based UI for MPV player"
maintainer="dogknowsnx <dogknowsnx@tutamail.com>"
license="LGPL-2.1-or-later"
homepage="https://github.com/tomasklaen/uosc"
changelog="https://github.com/tomasklaen/uosc/releases"
distfiles="https://github.com/tomasklaen/uosc/archive/refs/tags/${version}.tar.gz"
checksum=18fb38bd7d3ff3ca03f394b4d57daaa5a3f68051dcc31fdbfff3fbc874468913

do_install() {
	vinstall src/uosc.conf 0644 etc/mpv/script-opts

	vmkdir usr/share/mpv/scripts
	vcopy src/uosc usr/share/mpv/scripts
	vcopy src/fonts usr/share/mpv

	vdoc ${FILESDIR}/README.voidlinux
}
