27 lines
714 B
Bash
27 lines
714 B
Bash
# Template file for 'mpv-mpris'
|
|
pkgname=mpv-mpris
|
|
version=0.2
|
|
revision=1
|
|
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=d21a9617759bc368d6e9cb229d099b12968f0e673db5cd0bf12d8a251516d81a
|
|
|
|
pre_build() {
|
|
sed -e 's|CFLAGS=|override CFLAGS += |' \
|
|
-e 's|LDFLAGS=|override LDFLAGS += |' -i Makefile
|
|
}
|
|
|
|
do_install() {
|
|
vlicense LICENSE
|
|
vmkdir usr/lib/${pkgname}
|
|
vinstall mpris.so 0644 usr/lib/${pkgname}
|
|
}
|