diff --git a/srcpkgs/disputils/template b/srcpkgs/disputils/template new file mode 100644 index 00000000000..9416f2c4de5 --- /dev/null +++ b/srcpkgs/disputils/template @@ -0,0 +1,23 @@ +# Template file for 'disputils' +pkgname=disputils +version=1.0.0 +revision=1 +build_style=gnu-makefile +make_use_env=yes +hostmakedepends="pkg-config" +makedepends="xcb-util-devel" +short_desc="Utilities for getting info about displays" +maintainer="shizonic " +license="ISC" +homepage="https://github.com/tudurom/disputils" +distfiles="https://github.com/tudurom/disputils/archive/v${version}.tar.gz" +checksum=67a07dce4505f15f9b6c770dcd47109a344c5c0f13ad1916785e3894920bc799 +LDFLAGS="-Wl,--no-as-needed" + +post_extract() { + sed -i -e '/^CC /d' config.mk +} + +post_install() { + vlicense LICENSE +}