summaryrefslogtreecommitdiff
path: root/community/fbshot/PKGBUILD
blob: 9167a34faac46ba51b584cc85a96b026fa14de7b (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 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=4.1
pkgdesc="Takes screenshots (PNG) from your framebuffer device (e.g. console)."
arch=('i686' 'x86_64' 'mips64el')
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
}