1 # Contributor: Marius Dransfeld <marius.dransfeld@googlemail.com>
6 pkgdesc="Qt bindings for libdee"
8 url="https://launchpad.net/dee-qt"
10 depends=('qt' 'dee-bzr')
11 makedepends=('cmake' 'bzr')
12 source=('libqtdee.pc')
13 md5sums=('a7b0e53bedcb38df4edd205ba926e680')
14 conflicts=('libqtdee')
16 groups=('unity2d-bzr')
24 if [ -d ${_bzrmod} ]; then
26 msg "The local files are updated."
28 bzr co ${_bzrtrunk} ${_bzrmod}
30 if [[ -d ${srcdir}/build ]]; then
31 msg "Cleaning the previous build directory..."
32 rm -rf ${srcdir}/build
36 cmake $srcdir/$_bzrmod -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
42 make DESTDIR="${pkgdir}" install
43 install -D -m644 $srcdir/libqtdee.pc ${pkgdir}/usr/lib/pkgconfig/libqtdee.pc