summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Yan2017-08-11 11:56:34 +0800
committerFelix Yan2017-08-11 11:56:34 +0800
commit4bba8d030bfcb1db46f33b9d216e578ee2678244 (patch)
tree75df52f2506e1dd6d9741aea6deafd5d163176c5
downloadaur-4bba8d030bfcb1db46f33b9d216e578ee2678244.tar.gz
addpkg: fcitx5-gtk-git r5.be0cdae-1
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD33
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c33ba3bd552
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+# Generated by mksrcinfo v8
+# Fri Aug 11 03:56:19 UTC 2017
+pkgbase = fcitx5-gtk-git
+ pkgdesc = Gtk im module for fcitx5 and glib based dbus client library
+ pkgver = r5.be0cdae
+ pkgrel = 1
+ url = https://github.com/fcitx/fcitx5
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = extra-cmake-modules
+ makedepends = gobject-introspection
+ makedepends = git
+ depends = fcitx5-git
+ depends = gtk2
+ depends = gtk3
+ conflicts = fcitx
+ source = git+https://github.com/fcitx/fcitx5-gtk.git
+ sha512sums = SKIP
+
+pkgname = fcitx5-gtk-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8d7546cccef
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 226039 2017-04-27 13:52:30Z felixonmars $
+# Maintainer: Felix Yan <felixonmars@archlinux.org>
+# Contributor: csslayer <wengxt AT gmail com>
+
+pkgname=fcitx5-gtk-git
+pkgver=r5.be0cdae
+pkgrel=1
+pkgdesc="Gtk im module for fcitx5 and glib based dbus client library"
+arch=('i686' 'x86_64')
+url="https://github.com/fcitx/fcitx5"
+license=('GPL')
+depends=('fcitx5-git' 'gtk2' 'gtk3')
+makedepends=('extra-cmake-modules' 'gobject-introspection' 'git')
+conflicts=('fcitx')
+source=("git+https://github.com/fcitx/fcitx5-gtk.git")
+sha512sums=('SKIP')
+
+pkgver() {
+ cd fcitx5-gtk
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build(){
+ cd fcitx5-gtk
+
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=/usr/lib .
+ make
+}
+
+package() {
+ cd fcitx5-gtk
+ make DESTDIR="$pkgdir" install
+}