diff --git a/srcpkgs/xplugd/template b/srcpkgs/xplugd/template index fed771e5459..9a4c532c0f0 100644 --- a/srcpkgs/xplugd/template +++ b/srcpkgs/xplugd/template @@ -1,19 +1,22 @@ # Template file for 'xplugd' pkgname=xplugd -version=1.1 +version=1.2 revision=1 -build_style=gnu-makefile +build_style=gnu-configure +hostmakedepends="automake pkg-config" makedepends="libXi-devel libXrandr-devel" short_desc="Daemon that executes a script on X input and RandR changes" maintainer="Duncaen " license="MIT" homepage="https://github.com/troglobit/xplugd" distfiles="https://github.com/troglobit/xplugd/archive/v${version}.tar.gz" -checksum=84a585c80ca1a2846d67a7b0624793a29cf60e50758bf0946ff4860e965d3fd3 +checksum=d199626c4882ef73d0f1dce55dac07aaf7bb72e591e8150d223f9e025534678e -pre_build() { - sed -i 's|^CFLAGS\s*:=|override CFLAGS +=|g' Makefile +pre_configure() { + ./autogen.sh } + post_install() { vlicense LICENSE + rm -f ${DESTDIR}/usr/share/doc/xplugd/LICENSE }