void-packages/srcpkgs/xcape/template

20 lines
563 B
Bash

# Template file for 'xcape'
pkgname=xcape
version=1.1
revision=2
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=69ae927a6b2b1268a809b9c3af7c4f94584458f022beb6e2ca3e6bc3ba8a6d4a
do_build() {
make CC=$CC
}
do_install() {
make MANDIR=/share/man/man1 DESTDIR=${DESTDIR} install
}