summaryrefslogtreecommitdiff
path: root/community/fcitx-configtool/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/fcitx-configtool/PKGBUILD')
-rw-r--r--community/fcitx-configtool/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/community/fcitx-configtool/PKGBUILD b/community/fcitx-configtool/PKGBUILD
new file mode 100644
index 000000000..9094e8105
--- /dev/null
+++ b/community/fcitx-configtool/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 93365 2013-07-02 09:47:22Z fyan $
+# Maintainer: Felix Yan <felixonmars@gmail.com>
+
+pkgname=fcitx-configtool
+pkgver=0.4.7
+pkgrel=2
+pkgdesc="GTK based config tool for Fcitx"
+arch=('i686' 'x86_64')
+url="http://fcitx.googlecode.com/"
+license=('GPL2')
+depends=("fcitx>=4.2.7" "gtk3" "iso-codes")
+optdepends=('fcitx-qt4: for some configuration windows')
+makedepends=("cmake")
+source=("http://download.fcitx-im.org/$pkgname/$pkgname-$pkgver.tar.xz")
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ msg "Starting make..."
+
+ mkdir -p build
+ cd build
+
+ cmake -DCMAKE_INSTALL_PREFIX=/usr ..
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver/build"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums=('90ec9f4c30c46ea937f965173a4213b67d1cb360cc43b96af9899cdd5a0e35d34658ee7149ed10b3dc58d3851bc1712915db970fd2d25a976983b1037e380be2')