# Template file for 'gamemode' pkgname=gamemode version=1.6.1 revision=1 build_style=meson configure_args="-Dwith-sd-bus-provider=elogind" hostmakedepends="pkg-config" makedepends="inih-devel dbus-devel elogind-devel" depends="lib${pkgname}>=${version}_${revision}" short_desc="Optimise Linux system performance on demand" maintainer="Kenneth Dodrill " license="BSD-3-Clause" homepage="https://github.com/FeralInteractive/gamemode" distfiles="https://github.com/FeralInteractive/gamemode/archive/${version}.tar.gz" checksum=4377b88b5147ebf8d3f9a7a1f94c6d00f1e9624cd171d5af942ce9766be3747f post_install() { vsconf example/gamemode.ini vlicense LICENSE.txt vdoc README.md } libgamemode_package() { short_desc+=" - shared libraries" pkg_install() { # For compatibility reasons, all shlibs should go in libgamemode vmove "usr/lib/*.so*" } } libgamemode-devel_package() { short_desc+=" - development files" depends="lib${sourcepkg}>=${version}_${revision}" pkg_install() { vmove usr/lib/pkgconfig vmove "usr/lib/*.a" vmove usr/include } }