20 lines
576 B
Bash
20 lines
576 B
Bash
# 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.org>"
|
|
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
|
|
}
|