mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
22 lines
732 B
Bash
22 lines
732 B
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
|
|
pkgname=fbgrab
|
|
pkgver=1.0
|
|
pkgrel=3
|
|
pkgdesc="A framebuffer screenshot grabber"
|
|
arch=(i686 x86_64)
|
|
url="http://hem.bredband.net/gmogmo/fbgrab/"
|
|
license=("GPL")
|
|
depends=('libpng')
|
|
makedepends=('libpng')
|
|
source=(http://hem.bredband.net/gmogmo/fbgrab/fbgrab-1.0.tar.gz)
|
|
md5sums=('7af4d8774684182ed690d5da82d6d234')
|
|
|
|
build() {
|
|
cd $startdir/src/$pkgname-$pkgver
|
|
gcc -g -Wall fbgrab.c -lpng -lz -o fbgrab
|
|
strip fbgrab
|
|
install -D -m755 $startdir/src/$pkgname-$pkgver/fbgrab $startdir/pkg/usr/bin/fbgrab
|
|
install -D -m644 $startdir/src/$pkgname-$pkgver/fbgrab.1.man $startdir/pkg/usr/man/man1/fbgrab.1
|
|
}
|
|
# vim:syntax=sh
|