updated on Wed Jan 11 12:00:27 UTC 2012
[aur-mirror.git] / libqtdee / PKGBUILD
blobb06a0768c380d91d611bf34df4b6428617538feb
1 # Maintainer: György Balló <ballogy@freestart.hu>
2 pkgname=libqtdee
3 pkgver=0.2.3
4 pkgrel=2
5 pkgdesc="Provides a set of Qt bindings for libdee"
6 arch=('i686' 'x86_64')
7 url="https://launchpad.net/dee-qt"
8 license=('GPL')
9 depends=('qt' 'dee')
10 makedepends=('cmake')
11 source=(https://launchpad.net/ubuntu/+archive/primary/+files/${pkgname}_$pkgver.orig.tar.gz
12         pkgconfig.patch)
13 md5sums=('d60c0ea3ecbb5a6154bf0d878474e694'
14          '9ba573720c18a1e4529495dde8c5d1da')
16 build() {
17   cd "$srcdir/$pkgname-$pkgver"
18   patch -Np1 -i "$srcdir/pkgconfig.patch"
20   # Fix imports directory
21   sed -i 's|lib/qt4/imports|${QT_IMPORTS_DIR}|' CMakeLists.txt
23   cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
24   make
27 package() {
28   cd "$srcdir/$pkgname-$pkgver"
30   make DESTDIR="$pkgdir/" install