updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / fbcat / PKGBUILD
blobb7e67a3a1146bea855aa10d2bfc95ecab1c659f3
1 # Maintainer: Sara <sara at archlinux dot us>
2 # Contributor: Grigorios Bouzakis <grbzks at xsmail dot com>
4 pkgname=fbcat
5 pkgver=0.2
6 pkgrel=2
7 pkgdesc="Framebuffer screenshot grabber"
8 arch=('i686' 'x86_64')
9 url="http://code.google.com/p/fbcat"
10 license=('GPL')
11 depends=('glibc' 'sh')
12 optdepends=('graphicsmagick: fbgrab wrapper'
13             'imagemagick: fbgrab wrapper'
14             'netpbm: fbgrab wrapper')
15 provides=('fbgrab')
16 conflicts=('fbgrab')
17 replaces=('fbgrab')
18 source=(http://fbcat.googlecode.com/files/${pkgname}-${pkgver}.tar.gz \
19         ${pkgname}.1 \
20         fbgrab.1)
21 md5sums=('f17e89a33a7e6960741c76353db28346'
22          '85c31f14d8d5d7e2541f8918680ad2fa'
23          'f0ed68439c303a943bae5b4c5d9bb208')
25 build() {
26   cd "${srcdir}/${pkgname}-${pkgver}"
28   make
31 package() {
32   cd "${srcdir}/${pkgname}-${pkgver}"
34   install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
35   install -Dm755 fbgrab "${pkgdir}"/usr/bin/fbgrab
37   install -Dm644 "${srcdir}/${pkgname}.1" "${pkgdir}/usr/share/man/man1/${pkgname}.1"
38   install -Dm644 "${srcdir}"/fbgrab.1 "${pkgdir}"/usr/share/man/man1/fbgrab.1
41 # vim:set ts=2 sw=2 et: