1 # Contributor: Marius Dransfeld <marius.dransfeld@googlemail.com>
5 pkgdesc="Qt bindings for libbamf"
7 url="https://launchpad.net/bamf-qt"
9 depends=('qt' 'bamf-daemon')
10 makedepends=('cmake' 'bzr')
11 conflicts=('libqtbamf')
12 replaces=('libqtbamf')
13 groups=('unity2d-bzr')
21 if [ -d ${_bzrmod} ]; then
23 msg "The local files are updated."
25 bzr co ${_bzrtrunk} ${_bzrmod}
27 if [[ -d ${srcdir}/build ]]; then
28 msg "Cleaning the previous build directory..."
29 rm -rf ${srcdir}/build
33 cmake $srcdir/$_bzrmod -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
39 make DESTDIR="${pkgdir}" install