32 lines
901 B
Bash
32 lines
901 B
Bash
|
# Template file for 'playerctl'
|
||
|
pkgname=playerctl
|
||
|
version=0.4.2
|
||
|
revision=1
|
||
|
build_style=gnu-configure
|
||
|
hostmakedepends="pkg-config libtool"
|
||
|
makedepends="glib-devel gobject-introspection"
|
||
|
short_desc="MPRIS command-line controller and library"
|
||
|
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
||
|
license="LGPL-3"
|
||
|
homepage="https://github.com/acrisci/playerctl"
|
||
|
distfiles="https://github.com/acrisci/playerctl/releases/download/v${version}/${pkgname}-${version}.tar.gz"
|
||
|
checksum=4e6d05f0b1a5bd781cef69e3b08db2f965914dc52a934d099887113fcd5e7959
|
||
|
|
||
|
do_build() {
|
||
|
: ${make_cmd:=make}
|
||
|
${make_cmd} -j 1 ${make_build_args} ${make_build_target}
|
||
|
}
|
||
|
|
||
|
playerctl-devel_package() {
|
||
|
depends="playerctl>=${version}_${revision}"
|
||
|
short_desc+=" - development files"
|
||
|
pkg_install() {
|
||
|
vmove usr/include
|
||
|
vmove usr/lib/pkgconfig
|
||
|
vmove usr/share/gir-1.0
|
||
|
vmove usr/share/gtk-doc
|
||
|
vmove "usr/lib/*.a"
|
||
|
vmove "usr/lib/*.so"
|
||
|
}
|
||
|
}
|