1 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
5 pkgdesc="A GTK+ based PDF viewer"
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')
11 depends=('poppler-glib')
14 cd "$srcdir"/$pkgname-2008-03-20/src
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` \
20 gcc `pkg-config --libs poppler-glib gtk+-2.0` \
21 main.o rakt-window.o -o ${pkgname}
24 install -Dm755 "$srcdir"/$pkgname-2008-03-20/src/${pkgname} \
25 $pkgdir/usr/bin/${pkgname}