updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / glc-lib / PKGBUILD
blob99c8b493bc74c70345fb9ee9379806906f59dd88
1 # Maintainer: Jonathan Liu <net147@gmail.com>
2 pkgname=glc-lib
3 pkgver=2.2.0
4 pkgrel=1
5 pkgdesc="OpenGL Library Class"
6 arch=('i686' 'x86_64')
7 url="http://www.glc-lib.net/"
8 license=('LGPL')
9 depends=('mesa' 'qt')
10 source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/GLC_lib_${pkgver}/GLC_lib_src_${pkgver}.zip"
11         "qt-4.8.patch")
12 md5sums=('1a32baf0568e751ffef10f8279502107'
13          '0db6ee0a8418a150f15e612c15c3abd4')
15 build() {
16   cd "${srcdir}/glc_lib"
17   sed -i -e 's#/usr/local/#/usr/#g' GLC_lib.pro
18   patch -Np1 -i "${srcdir}/qt-4.8.patch"
19   qmake
20   make
23 package() {
24   cd "${srcdir}/glc_lib"
25   make INSTALL_ROOT="${pkgdir}" install
28 # vim:set ts=2 sw=2 et: