updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / raktpdf / PKGBUILD
blob0b2acbbdbc0531b08c7323f6f47b3c435ef69b6d
1 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
2 pkgname=raktpdf
3 pkgver=20080320
4 pkgrel=2
5 pkgdesc="A GTK+ based PDF viewer"
6 arch=('x86_64' 'i686')
7 url="ftp://code-monkey.de/pub/raktpdf"
8 source=(ftp://code-monkey.de/pub/raktpdf/raktpdf-2008-03-20.tar.gz)
9 md5sums=('6492ae9cea1c2661f1c82b222ee5c4f3')
10 license=('GPL')
11 depends=('poppler-glib')
13 build() {
14   cd "$srcdir"/$pkgname-2008-03-20/src
15   cp ../config.h .
16   gcc -I. -DHAVE_CONFIG_H -c `pkg-config --cflags poppler-glib gtk+-2.0` \
17     -o rakt-window.o rakt-window.c 
18   gcc -I. -DHAVE_CONFIG_H -c `pkg-config --cflags poppler-glib gtk+-2.0` \
19     -o main.o main.c 
20   gcc `pkg-config --libs poppler-glib gtk+-2.0` \
21     main.o rakt-window.o -o ${pkgname}
23 package() {
24   install -Dm755 "$srcdir"/$pkgname-2008-03-20/src/${pkgname} \
25     $pkgdir/usr/bin/${pkgname} 
26