void-packages/srcpkgs/unclutter-xfixes/template
2021-08-26 18:43:38 +02:00

27 lines
799 B
Bash

# Template file for 'unclutter-xfixes'
pkgname=unclutter-xfixes
version=1.6
revision=1
build_style=gnu-makefile
make_use_env=yes
make_install_args="LICENSEDIR=/usr/share/licenses/${pkgname}"
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.org>"
license="MIT"
homepage="https://github.com/Airblader/unclutter-xfixes"
distfiles="https://github.com/Airblader/unclutter-xfixes/archive/v${version}.tar.gz"
checksum=6f7f248f16b7d4ec7cb144b6bc5a66bd49078130513a184f4dc16c498d457db9
conflicts="unclutter>=0"
post_extract() {
vsed -e '/^CC/d' \
-e '/^.PHONY: $(TARGET)/d' \
-e '/ LICENSE$/d' \
-i Makefile
}
post_install() {
vlicense LICENSE
}