From 3b200efc3f4226ef451f36bfaaa7d56142d08e74 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 14 Feb 2014 08:38:45 +0100 Subject: [PATCH] fbgrab: multiple fixes and improvements. - long_desc is being obsolete, remove it. - use build_style=gnu-makefile - install manpage to correct location - no need to install license if it's provided by base-files already --- srcpkgs/fbgrab/template | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/srcpkgs/fbgrab/template b/srcpkgs/fbgrab/template index f9d39bdd8f..3b1be509aa 100644 --- a/srcpkgs/fbgrab/template +++ b/srcpkgs/fbgrab/template @@ -1,27 +1,17 @@ # Template file for 'fbgrab' pkgname=fbgrab version=1.2 -revision=1 +revision=2 +wrksrc="$pkgname" +build_style=gnu-makefile homepage="http://fbgrab.monells.se/" -distfiles="http://fbgrab.monells.se/fbgrab-$version.tar.gz" -depends="zlib libpng" makedepends="zlib-devel libpng-devel" short_desc="A framebuffer screenshot program, capturing the linux frambuffer and converting it to a png-picture" maintainer="Enno Boland " license="GPLv2" +distfiles="http://fbgrab.monells.se/fbgrab-$version.tar.gz" checksum=61e0772ad6ea744ee597ae478398ddd0ba6fceee2cf343859bebde2c15bafb91 -long_desc=" - fbgrab reads the framebuffer device (/dev/fb*) or a dump thereof and saves a - PNG image file. You can use it for making screenshots of of virtually anys - application, from traditional test applications to your X-windows desktop, as - well as framebuffer applications." -wrksrc="$pkgname" -do_build() { - make PREFIX=/usr CC=$CC -} - -do_install() { - make PREFIX=/usr DESTDIR=$DESTDIR install - vinstall COPYING 644 usr/share/licenses/$pkgname +pre_install() { + sed 's,/usr/man,/usr/share/man,' -i Makefile }