summaryrefslogtreecommitdiff
path: root/community/ibus-qt/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/ibus-qt/PKGBUILD')
-rw-r--r--community/ibus-qt/PKGBUILD20
1 files changed, 11 insertions, 9 deletions
diff --git a/community/ibus-qt/PKGBUILD b/community/ibus-qt/PKGBUILD
index fefb11e52..51d3beb3d 100644
--- a/community/ibus-qt/PKGBUILD
+++ b/community/ibus-qt/PKGBUILD
@@ -1,10 +1,11 @@
+# $Id: PKGBUILD 48593 2011-06-03 07:34:58Z andrea $
# Maintainer: Thomas Dziedzic < gostrc at gmail >
# Contributor: garion < garion @ mailoo.org >
-# Contributor:leemars
+# Contributor: leemars
pkgname=ibus-qt
pkgver=1.3.1
-pkgrel=2
+pkgrel=3
pkgdesc='IBus qt library and IBus qt input method plugin'
arch=('i686' 'x86_64')
license=('LGPL')
@@ -15,15 +16,16 @@ source=("http://ibus.googlecode.com/files/${pkgname}-${pkgver}-Source.tar.gz")
md5sums=('769e8872ca8a59327b2073ce2f142589')
build() {
- cd ${pkgname}-${pkgver}-Source
-
- cmake -DCMAKE_INSTALL_PREFIX=/usr -Wno-dev
-
+ cd "${srcdir}"
+ mkdir build
+ cd build
+
+ cmake ../${pkgname}-${pkgver}-Source \
+ -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
- cd ${pkgname}-${pkgver}-Source
-
- make DESTDIR=${pkgdir} install
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
}