1 # Maintainer: Maximilian Guentner <maximilian.guentner@gmail.com>
6 pkgdesc="Q Light Controller: a cross-platform application for controlling DMX or analog lighting systems"
8 url="http://qlc.sourceforge.net"
10 depends=('qt' 'libftdi' 'shared-mime-info')
12 makedepends=('subversion')
14 install=${pkgname}.install
15 _svntrunk=https://qlc.svn.sourceforge.net/svnroot/qlc/trunk
21 if [ -d $_svnmod/.svn ]; then
22 (cd $_svnmod && svn up -r $pkgver)
24 svn co $_svntrunk --config-dir ./ -r $pkgver
27 # Create copy for build
28 cp -r $_svnmod $_svnmod-build
30 sed -i '/QMAKE_CXXFLAGS += -Werror/ a\QMAKE_CXXFLAGS += -Wno-error=unused-but-set-variable' variables.pri
31 qmake INSTALL_ROOT=$pkgdir || return 1
32 make INSTALL_ROOT=$pkgdir || return 1
33 make INSTALL_ROOT=$pkgdir install || return 1
34 rm -rf ${srcdir}/$_svnmod-build