diff --git a/srcpkgs/sx/template b/srcpkgs/sx/template new file mode 100644 index 0000000000..a1f738e2a0 --- /dev/null +++ b/srcpkgs/sx/template @@ -0,0 +1,20 @@ +# Template file for 'sx' +pkgname=sx +version=1.0 +revision=1 +build_style=gnu-makefile +depends="xorg-server xauth" +short_desc="Posix script to start an xserver instance" +maintainer="maxice8 " +license="MIT" +homepage="https://github.com/Earnestly/sx" +distfiles="https://github.com/Earnestly/sx/archive/${version}.tar.gz" +checksum=60a5b3c16ff68a1f5275b596cfd3e48667e65c25af5ca4f3281b72a196cc2c78 + +pre_install() { + sed -i 's|/usr/lib/xorg-server|/usr/libexec|g' sx +} + +post_install() { + vlicense LICENSE +}