summaryrefslogtreecommitdiff
path: root/community-staging/fbshot
diff options
context:
space:
mode:
Diffstat (limited to 'community-staging/fbshot')
-rw-r--r--community-staging/fbshot/PKGBUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/community-staging/fbshot/PKGBUILD b/community-staging/fbshot/PKGBUILD
new file mode 100644
index 000000000..b807e4e09
--- /dev/null
+++ b/community-staging/fbshot/PKGBUILD
@@ -0,0 +1,22 @@
+# $Id: PKGBUILD 62337 2012-01-19 09:23:07Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: sp42b <sp42b|a_t|gmx.net>
+
+pkgname=fbshot
+pkgver=0.3
+pkgrel=4
+pkgdesc="Takes screenshots (PNG) from your framebuffer device (e.g. console)."
+arch=('i686' 'x86_64')
+url="http://www.sfires.net/fbshot/"
+license=('GPL')
+depends=('libpng')
+source=(http://www.sfires.net/stuff/fbshot/$pkgname-$pkgver.tar.gz)
+md5sums=('2cc6cc25cdc4cd447a8b0a9662907635')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ 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
+}