diff options
author | root <root@rshg054.dnsready.net> | 2012-01-31 23:14:57 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-01-31 23:14:57 +0000 |
commit | c34f78dd37c2a2015d43de5d89748a2f8147ba1b (patch) | |
tree | 2e3912930db02e8f8cbfa8a58eae203b886fa2d9 /community-testing/fbgrab/PKGBUILD | |
parent | 902eddd7e029eda6fc1c668b31e696c6ca3edbc7 (diff) |
Tue Jan 31 23:14:56 UTC 2012
Diffstat (limited to 'community-testing/fbgrab/PKGBUILD')
-rw-r--r-- | community-testing/fbgrab/PKGBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/community-testing/fbgrab/PKGBUILD b/community-testing/fbgrab/PKGBUILD new file mode 100644 index 000000000..4201a7b31 --- /dev/null +++ b/community-testing/fbgrab/PKGBUILD @@ -0,0 +1,23 @@ +# $Id: PKGBUILD 63086 2012-01-30 18:55:03Z ibiru $ +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org + +pkgname=fbgrab +pkgver=1.0 +pkgrel=6 +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 + sed -i '1,1i#include <zlib.h>' fbgrab.c + 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/share/man/man1/fbgrab.1 +} |