summaryrefslogtreecommitdiff
path: root/community/fbshot/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/fbshot/PKGBUILD')
-rw-r--r--community/fbshot/PKGBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/community/fbshot/PKGBUILD b/community/fbshot/PKGBUILD
index 752c53faa..489f897f8 100644
--- a/community/fbshot/PKGBUILD
+++ b/community/fbshot/PKGBUILD
@@ -1,8 +1,10 @@
+# $Id: PKGBUILD 63550 2012-02-05 11:55:26Z ibiru $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: sp42b <sp42b|a_t|gmx.net>
pkgname=fbshot
pkgver=0.3
-pkgrel=3
+pkgrel=4
pkgdesc="Takes screenshots (PNG) from your framebuffer device (e.g. console)."
arch=('i686' 'x86_64')
url="http://www.sfires.net/fbshot/"
@@ -13,7 +15,8 @@ md5sums=('2cc6cc25cdc4cd447a8b0a9662907635')
build() {
cd "$srcdir/$pkgname-$pkgver"
- make || return 1
+ sed -i '1,1i#include <zlib.h>' fbshot.c
+ make
install -Dm755 fbshot $pkgdir/usr/bin/fbshot
install -Dm644 fbshot.1.man $pkgdir/usr/share/man/man1/fbshot.1
}