summaryrefslogtreecommitdiff
path: root/community-testing/fbshot/PKGBUILD
blob: d68dec0afaad34e12c3a2d4dbcac62f091340254 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $Id: PKGBUILD 63090 2012-01-30 18:55:17Z ibiru $
# 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
}