summaryrefslogtreecommitdiff
path: root/community/fcitx-sayura/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/fcitx-sayura/PKGBUILD
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/fcitx-sayura/PKGBUILD')
-rw-r--r--community/fcitx-sayura/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/community/fcitx-sayura/PKGBUILD b/community/fcitx-sayura/PKGBUILD
new file mode 100644
index 000000000..318877548
--- /dev/null
+++ b/community/fcitx-sayura/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars@gmail.com>
+
+pkgname=fcitx-sayura
+pkgver=0.1.1
+pkgrel=1
+pkgdesc="Sinhala Transe IME engine for fcitx."
+arch=('i686' 'x86_64')
+url="https://github.com/fcitx/fcitx-sayura"
+license=('GPL')
+depends=('fcitx>=4.2.8')
+makedepends=('cmake' 'intltool')
+install=${pkgname}.install
+source=("http://download.fcitx-im.org/$pkgname/$pkgname-$pkgver.tar.xz")
+
+build() {
+ cd "$srcdir"/${pkgname}-${pkgver}
+
+ rm -rf build
+ mkdir build
+ cd build
+
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
+ make
+}
+
+package() {
+ cd "$srcdir"/${pkgname}-${pkgver}/build
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums=('1eda91ae985df65982cf6f4e67b676bb8eb7117cd1aad7c2a90e81c13fa2a806bbff5eda7bb7e797cb26cb46bbda51931ecffd50384a89ead24ad90777183dc3')