summaryrefslogtreecommitdiff
path: root/community/fbgrab/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-06 23:14:50 +0000
committerroot <root@rshg054.dnsready.net>2012-02-06 23:14:50 +0000
commit1fa6edfba8d1e31ca1c0d59e8202cd3c62ccf393 (patch)
tree8d7ccc2dc9d08a4c3cde26aa01c887e9a0fc2fa1 /community/fbgrab/PKGBUILD
parentbdb5b3e66f6afa586ea147f69af5e4ba388f7615 (diff)
Mon Feb 6 23:14:50 UTC 2012
Diffstat (limited to 'community/fbgrab/PKGBUILD')
-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