PKGBUILDs/community/libqglviewer/PKGBUILD
2009-10-09 21:15:33 -05:00

21 lines
655 B
Bash

# Maintainer: Geoffroy Carrier <geoffroy.carrier@aur.archlinux.org>
# Contributor: Dmitriy Morozov <archlinux@foxcub.org>
pkgname=libqglviewer
_dlname=libQGLViewer
pkgver=2.3.1
pkgrel=1
pkgdesc="C++ library based on Qt that eases the creation of OpenGL 3D viewers"
url="http://http://www.libqglviewer.com/"
depends=('qt' 'mesa')
arch=('i686' 'x86_64')
license=('GPL')
source=(http://www.libqglviewer.com/src/$_dlname-$pkgver.tar.gz)
build() {
cd "$srcdir/${_dlname}-$pkgver"
cd QGLViewer
qmake || return 1
ln -sf Makefile Makefile.Release
make || return 1
make install INSTALL_ROOT=$pkgdir || return 1
}
md5sums=('bede65612dd6230127f844bc5bdf2c9f')