void-packages/srcpkgs/grabc/template

21 lines
575 B
Bash
Raw Normal View History

2017-02-27 01:27:29 +01:00
# Template file for 'grabc'
pkgname=grabc
version=1.1
revision=1
wrksrc="${pkgname}${version}"
build_style=gnu-makefile
makedepends="libX11-devel"
short_desc="Identify color of a pixel on the screen"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="GPL-2"
homepage="http://www.muquit.com/muquit/software/grabc/grabc.html"
distfiles="http://www.muquit.com/muquit/software/grabc/grabc${version}.tar.gz"
checksum=f0492a8ea33b46a16bdb94644420f54724e31c4436e4cd77937a30b2de3bb00e
pre_build() {
sed -i -e 's|$(LIBS)|$(LDFLAGS) -lX11|' Makefile
}
do_install() {
vbin grabc
}