updated on Tue Jan 17 16:10:12 UTC 2012
[aur-mirror.git] / dconf-qt / PKGBUILD
blob2d8db648d76e7c43b1e8bc720df2e04b2965aa76
1 # Maintainer: György Balló <ballogy@freestart.hu>
2 pkgname=dconf-qt
3 pkgver=0.0.0.110722
4 pkgrel=3
5 pkgdesc="Qt and QML bindings for dconf"
6 arch=('i686' 'x86_64')
7 url="https://launchpad.net/dconf-qt"
8 license=('LGPL')
9 depends=('qt' 'dconf')
10 makedepends=('cmake')
11 source=(https://launchpad.net/ubuntu/+archive/primary/+files/${pkgname}_$pkgver.orig.tar.bz2
12         01_fix_pc_generation.patch
13         02_link_again_dconf_dbus.patch)
14 md5sums=('39b34290852194f7017ed95fc368ad0f'
15          'b4595c245807b3387b715a0e47099e42'
16          'cfca46143b82fc23fe4cb570b0e9fa28')
18 build() {
19   cd "$srcdir/lib$pkgname-0.0.0"
20   patch -Np1 -i "$srcdir/01_fix_pc_generation.patch"
21   patch -Np1 -i "$srcdir/02_link_again_dconf_dbus.patch"
23   # Fix imports directory
24   sed -i 's|lib/qt4/imports|${QT_IMPORTS_DIR}|' qml/CMakeLists.txt
26   cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
27   make
30 package() {
31   cd "$srcdir/lib$pkgname-0.0.0"
33   make DESTDIR="$pkgdir/" install