void-packages/srcpkgs/unclutter-xfixes/template

25 lines
713 B
Bash

# Template file for 'unclutter-xfixes'
pkgname=unclutter-xfixes
version=1.3
revision=1
build_style=gnu-makefile
hostmakedepends="pkg-config asciidoc"
makedepends="libXfixes-devel libXi-devel libev-devel"
short_desc="Rewrite of the popular tool unclutter using the libXfixes"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="MIT"
homepage="https://github.com/Airblader/unclutter-xfixes"
distfiles="https://github.com/Airblader/unclutter-xfixes/archive/v${version}.tar.gz"
checksum=8726b2e447de9d43bbd979ad6581c6fd34ad76ef82a6e1c7e1ad2ca3247565b2
conflicts="unclutter>=0"
CPPFLAGS="-D__VERSION=\\\"$version\\\""
pre_build() {
sed -i Makefile -e "s;CC = gcc;CC = $CC;"
}
post_install() {
vlicense LICENSE
}