1 # Maintainer: Gianluca Montecchi <gian@grys.it>
4 _pkgname=bulbcalculator
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')
12 source=("http://grys.it/BulbCalculator/${_pkgname}-src-${pkgver}.tar.gz")
13 md5sums=('e0c718ea9b7a7d679e67c8503504a3a4')
17 cd ${_pkgname}-$pkgver
19 qmake -unix -o Makefile ${_pkgname}.pro || return 1
21 CFLAGS="-pipe ${CFLAGS} -D_REENTRANT -Wall -W -fPIC \$(DEFINES)" \
22 CXXFLAGS="-pipe ${CXXFLAGS} -D_REENTRANT -Wall -W -fPIC \$(DEFINES)" || return 1
27 cd ${_pkgname}-$pkgver
29 make install INSTALL_ROOT="$pkgdir" || return 1
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