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
This commit is contained in:
Juan RP 2014-02-14 08:38:45 +01:00
parent d86c15831c
commit 3b200efc3f

View file

@ -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 <eb@s01.de>"
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
}