updated on Fri Jan 13 04:01:25 UTC 2012
[aur-mirror.git] / libqtbamf / PKGBUILD
blobefc316142f5418b74954519ffbeaad5753304067
1 # Maintainer: György Balló <ballogy@freestart.hu>
2 pkgname=libqtbamf
3 pkgver=0.2.2
4 pkgrel=2
5 pkgdesc="Provides a set of Qt bindings for libbamf"
6 arch=('i686' 'x86_64')
7 url="https://launchpad.net/bamf-qt"
8 license=('GPL')
9 depends=('qt' 'bamf')
10 makedepends=('cmake')
11 source=(https://launchpad.net/ubuntu/+archive/primary/+files/${pkgname}_$pkgver.orig.tar.gz)
12 md5sums=('44b634d88a7c3048682ed03c51890328')
14 build() {
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
21   make
24 package() {
25   cd "$srcdir/$pkgname-$pkgver"
27   make DESTDIR="$pkgdir/" install