1 # Maintainer: György Balló <ballogy@freestart.hu>
5 pkgdesc="Provides a set of Qt bindings for libbamf"
7 url="https://launchpad.net/bamf-qt"
11 source=(https://launchpad.net/ubuntu/+archive/primary/+files/${pkgname}_$pkgver.orig.tar.gz)
12 md5sums=('44b634d88a7c3048682ed03c51890328')
15 cd "$srcdir/$pkgname-$pkgver"
17 # Fix imports directory
18 sed -i 's|lib/qt4/imports|${QT_IMPORTS_DIR}|' CMakeLists.txt
20 cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
25 cd "$srcdir/$pkgname-$pkgver"
27 make DESTDIR="$pkgdir/" install