void-packages/srcpkgs/xplugd/template
2016-04-25 17:13:50 +02:00

19 lines
569 B
Bash

# Template file for 'xplugd'
pkgname=xplugd
version=1.1
revision=1
build_style=gnu-makefile
makedepends="libXi-devel libXrandr-devel"
short_desc="Daemon that executes a script on X input and RandR changes"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="MIT"
homepage="https://github.com/troglobit/xplugd"
distfiles="https://github.com/troglobit/xplugd/archive/v${version}.tar.gz"
checksum=84a585c80ca1a2846d67a7b0624793a29cf60e50758bf0946ff4860e965d3fd3
pre_build() {
sed -i 's|^CFLAGS\s*:=|override CFLAGS +=|g' Makefile
}
post_install() {
vlicense LICENSE
}