From 86255f2719a1b84251a31f66aee7762783ffda45 Mon Sep 17 00:00:00 2001 From: a dinosaur Date: Wed, 13 Jan 2021 22:07:34 +1100 Subject: [PATCH] grabc: update to 1.0.2 --- srcpkgs/grabc/template | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/srcpkgs/grabc/template b/srcpkgs/grabc/template index 382767654b5..ec49f8264d7 100644 --- a/srcpkgs/grabc/template +++ b/srcpkgs/grabc/template @@ -1,20 +1,17 @@ # Template file for 'grabc' pkgname=grabc -version=1.1 +reverts=1.1_1 +version=1.0.2 revision=1 -wrksrc="${pkgname}${version}" build_style=gnu-makefile makedepends="libX11-devel" short_desc="Identify color of a pixel on the screen" maintainer="Duncaen " -license="GPL-2" +license="MIT" homepage="http://www.muquit.com/muquit/software/grabc/grabc.html" -distfiles="http://www.muquit.com/muquit/software/grabc/grabc${version}.tar.gz" -checksum=f0492a8ea33b46a16bdb94644420f54724e31c4436e4cd77937a30b2de3bb00e +distfiles="https://github.com/muquit/grabc/archive/v${version}.tar.gz" +checksum=a3e4d2e5b11ef63e8928a630418fc8dfe1327585adc48aef8d0f13b2d78d5ea0 pre_build() { - sed -i -e 's|$(LIBS)|$(LDFLAGS) -lX11|' Makefile -} -do_install() { - vbin grabc + sed -i -e 's|/usr/local|/usr|' Makefile }