summaryrefslogtreecommitdiff
path: root/community/fbgrab
diff options
context:
space:
mode:
Diffstat (limited to 'community/fbgrab')
-rw-r--r--community/fbgrab/PKGBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/community/fbgrab/PKGBUILD b/community/fbgrab/PKGBUILD
index 14c947599..66e75dacd 100644
--- a/community/fbgrab/PKGBUILD
+++ b/community/fbgrab/PKGBUILD
@@ -1,4 +1,5 @@
-# $Id: PKGBUILD 63546 2012-02-05 11:55:12Z ibiru $
+# $Id: PKGBUILD 83675 2013-02-04 11:04:55Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
pkgname=fbgrab
@@ -14,10 +15,10 @@ source=(http://hem.bredband.net/gmogmo/fbgrab/fbgrab-1.0.tar.gz)
md5sums=('7af4d8774684182ed690d5da82d6d234')
build() {
- cd $startdir/src/$pkgname-$pkgver
+ cd $srcdir/$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
+ install -D -m755 $srcdir/$pkgname-$pkgver/fbgrab $pkgdir/usr/bin/fbgrab
+ install -D -m644 $srcdir/$pkgname-$pkgver/fbgrab.1.man $pkgdir/usr/share/man/man1/fbgrab.1
}