diff --git a/srcpkgs/xwinwrap/template b/srcpkgs/xwinwrap/template new file mode 100644 index 00000000000..35e7cf1b596 --- /dev/null +++ b/srcpkgs/xwinwrap/template @@ -0,0 +1,21 @@ +# 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 " +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 +}