1 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
2 # Contributor: damir <damir@archlinux.org>
8 pkgdesc="Takes snapshot from your Linux console(s) and outputs a Targa file."
10 url="http://bisqwit.iki.fi/source/snapscreenshot.html"
11 source=(http://bisqwit.iki.fi/src/arch/snapscreenshot-$pkgver.tar.bz2 \
13 md5sums=('30cb9b7af7169f8aa0e7e8560dfb2068' '466e654957642be310214c740358b3b7')
17 cd $srcdir/$pkgname-$pkgver
18 install -d $pkgdir/usr/{bin,share/man/man1} || return 1
19 ./configure --prefix=/usr || return 1
20 patch -p1 < ../gcc4.3.patch || return 1
21 make BINDIR=/usr/bin \
22 MANDIR=/usr/share/man \
24 make BINDIR=$pkgdir/usr/bin \
25 MANDIR=$pkgdir/usr/share/man \
27 chown root:root $pkgdir/usr/bin/snapscreenshot || return 1