updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / bulbcalculator / PKGBUILD
blob948bc66941315c8688f8d1e4c8dfcbc4f9d01b4d
1 # Maintainer: Gianluca Montecchi <gian@grys.it>
3 pkgname=bulbcalculator
4 _pkgname=bulbcalculator
5 pkgver=2.0.1
6 pkgrel=1
7 pkgdesc="A progran to design bulbs of sailboat based on Qt and libQGLViewer"
8 url="http://gitorious.org/bulbcalculator/pages/Home"
9 depends=('qt' 'libqglviewer')
10 arch=('i686')
11 license=('GPL3')
12 source=("http://grys.it/BulbCalculator/${_pkgname}-src-${pkgver}.tar.gz")
13 md5sums=('e0c718ea9b7a7d679e67c8503504a3a4')
15 build()
17   cd ${_pkgname}-$pkgver
19   qmake -unix -o Makefile ${_pkgname}.pro || return 1
20   make \
21     CFLAGS="-pipe ${CFLAGS} -D_REENTRANT -Wall -W -fPIC \$(DEFINES)" \
22     CXXFLAGS="-pipe ${CXXFLAGS} -D_REENTRANT -Wall -W -fPIC \$(DEFINES)" || return 1
25 package()
27   cd ${_pkgname}-$pkgver
29   make install INSTALL_ROOT="$pkgdir" || return 1
30   
31   # Install license.
32   #install -d -m 0755 "${pkgdir}"/usr/share/licenses/$pkgname/ || return 1
33   #install -m 0644 LICENCE GPL_EXCEPTION "${pkgdir}"/usr/share/licenses/$pkgname/ || return 1