void-packages/srcpkgs/xcape/template

20 lines
563 B
Bash

# Template file for 'xcape'
pkgname=xcape
version=1.2
revision=1
hostmakedepends="pkg-config"
makedepends="libXtst-devel libXi-devel"
short_desc="Allows you to use a single press of a modifier key as another key"
maintainer="Matt Carroll <oholiab@gmail.com>"
license="GPL-3"
homepage="https://github.com/alols/xcape"
distfiles="https://github.com/alols/xcape/archive/v${version}.tar.gz"
checksum=a27ed884fd94f03058af65a39edfe3af3f2f8fbb76ba9920002a76be07fb2821
do_build() {
make CC=$CC
}
do_install() {
make MANDIR=/share/man/man1 DESTDIR=${DESTDIR} install
}