updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / freepv / PKGBUILD
blob8d39062dc740067531421a37c1fade63b0d0d4d9
1 # Contributor: Lukas Jirkovsky <l.jirkovsky@gmail.com>
2 # Contributor: Adam Vogt <vogt.adam@gmail.com>
3 pkgname=freepv
4 pkgver=0.3.0
5 pkgrel=2
6 pkgdesc="A panorama viewer"
7 arch=('i686' 'x86_64')
8 url="http://freepv.sourceforge.net/"
9 license=('LGPL')
10 depends=('freeglut' 'libxml2' 'libjpeg' 'libpng')
11 makedepends=('cmake')
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')
18 build() {
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 .
26 package() {
27   cd "$srcdir/$pkgname-$pkgver"
28   make DESTDIR="$pkgdir" install
31 # vim:set ts=2 sw=2 et: