updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / libqtgconf / PKGBUILD
blob1fd58cf02498e22276d5ac381fc3fc2a351b6267
1 # Maintainer: György Balló <ballogy@freestart.hu>
2 pkgname=libqtgconf
3 pkgver=0.1
4 pkgrel=2
5 pkgdesc="Provides a set of Qt bindings for GConf"
6 arch=('i686' 'x86_64')
7 url="https://launchpad.net/gconf-qt"
8 license=('GPL')
9 depends=('qt' 'gconf')
10 makedepends=('cmake')
11 source=(https://launchpad.net/ubuntu/+archive/primary/+files/${pkgname}_$pkgver.orig.tar.gz)
12 md5sums=('c610ef0fd6d09c98371bfd1d80452ccf')
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