summaryrefslogtreecommitdiff
path: root/community/fbgrab
diff options
context:
space:
mode:
Diffstat (limited to 'community/fbgrab')
-rw-r--r--community/fbgrab/PKGBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/community/fbgrab/PKGBUILD b/community/fbgrab/PKGBUILD
index 6ea2b333c..14c947599 100644
--- a/community/fbgrab/PKGBUILD
+++ b/community/fbgrab/PKGBUILD
@@ -1,8 +1,9 @@
-# $Id: PKGBUILD 8867 2010-01-22 03:05:07Z dgriffiths $
+# $Id: PKGBUILD 63546 2012-02-05 11:55:12Z ibiru $
# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
+
pkgname=fbgrab
pkgver=1.0
-pkgrel=5
+pkgrel=6
pkgdesc="A framebuffer screenshot grabber"
arch=(i686 x86_64)
url="http://hem.bredband.net/gmogmo/fbgrab/"
@@ -14,9 +15,9 @@ md5sums=('7af4d8774684182ed690d5da82d6d234')
build() {
cd $startdir/src/$pkgname-$pkgver
+ sed -i '1,1i#include <zlib.h>' fbgrab.c
gcc -g -Wall fbgrab.c -lpng -lz -o fbgrab
strip fbgrab
install -D -m755 $startdir/src/$pkgname-$pkgver/fbgrab $startdir/pkg/usr/bin/fbgrab
install -D -m644 $startdir/src/$pkgname-$pkgver/fbgrab.1.man $startdir/pkg/usr/share/man/man1/fbgrab.1
}
-# vim:syntax=sh