1 # Contributor: Lukas Jirkovsky <l.jirkovsky@gmail.com>
2 # Contributor: Adam Vogt <vogt.adam@gmail.com>
6 pkgdesc="A panorama viewer"
8 url="http://freepv.sourceforge.net/"
10 depends=('freeglut' 'libxml2' 'libjpeg' 'libpng')
12 source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz \
13 disable_plugin.diff build_fix.diff)
14 md5sums=('8a77f721838d22accd86d40b1580c408'
15 '20dbfa57aa06e6a3be79bf173e734de5'
16 '3e2693a2e20898c0ec06b1380689c4ea')
19 cd "$srcdir/$pkgname-$pkgver"
21 patch -Np1 < "$srcdir/disable_plugin.diff"
22 patch -Np1 < "$srcdir/build_fix.diff"
23 cmake -DCMAKE_INSTALL_PREFIX=/usr .
27 cd "$srcdir/$pkgname-$pkgver"
28 make DESTDIR="$pkgdir" install
31 # vim:set ts=2 sw=2 et: