void-packages/srcpkgs/xwinwrap/template

22 lines
548 B
Bash

# Template file for 'xwinwrap'
pkgname=xwinwrap
version=0.9
revision=1
build_style=gnu-makefile
makedepends="libXrender-devel"
short_desc="X11 Window as background"
maintainer="SolitudeSF <solitudesf@protonmail.com>"
license="MIT"
homepage="https://github.com/Aaahh/xwinwrap"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=0e840586deaf6780d426dc49f7a344366198aead96535cc1eb2ac7ce366777df
pre_install() {
vsed -i Makefile -e 's|/local||'
}
post_install() {
head -23 < xwinwrap.c | tail -22 | cut -c 4- > LICENSE
vlicense LICENSE
}