void-packages/srcpkgs/mouseemu/template
Đoàn Trần Công Danh 9978e00086 srcpkgs: remove patch_args=-Np1 en-mass
git grep -l '^patch_args=.*p1' 'srcpkgs/*/template'  |
	xargs -r sed -i '/^patch_args=/d'
2021-06-20 13:17:29 +07:00

28 lines
752 B
Bash

# Template file for 'mouseemu'
pkgname=mouseemu
version=0.15
revision=1
wrksrc=${pkgname}
depends="procps-ng"
short_desc="Emulate mouse buttons and mouse wheel"
maintainer="q66 <daniel@octaforge.org>"
license="GPL-2.0-or-later"
homepage="http://geekounet.org/powerbook/"
distfiles="http://deb.debian.org/debian/pool/main/m/${pkgname}/${pkgname}_${version}.orig.tar.gz"
checksum=bbef220a814931f8ee482c82dfd63ad0a8ec895fc7df7bac1a1ada880d59af59
conf_files="/etc/sv/mouseemu/conf"
case "$XBPS_TARGET_MACHINE" in
x86_64*|i686*) depends+=" dmidecode";;
esac
do_build() {
${CC} ${CFLAGS} ${LDFLAGS} -o mouseemu mouseemu.c
}
do_install() {
vinstall ${FILESDIR}/99-mouseemu.rules 644 usr/lib/udev/rules.d/
vbin mouseemu
vman mouseemu.8
vsv mouseemu
}