summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorChiu-Hsiang Hsu2015-08-20 19:29:26 +0800
committerChiu-Hsiang Hsu2015-08-20 19:29:26 +0800
commit1b0912cdabc409287c3d27c7f6b4d3833de684de (patch)
treedf3ad37c3000cb793b33e5c51ae9799000923c88 /PKGBUILD
downloadaur-1b0912cdabc409287c3d27c7f6b4d3833de684de.tar.gz
add original files
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..13d81164e29
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+# Contributor: HIME team
+_pkgname=hime
+pkgname=hime-git
+pkgver=1020.5046bf6
+pkgrel=1
+pkgdesc="A GTK2+/GTK3+ based universal input method platform"
+arch=('i686' 'x86_64')
+url="http://hime-ime.github.io/"
+license=('LGPL2' 'FDL' 'GPL2')
+depends=('gtk2' 'libxtst')
+makedepends=('git' 'gettext' 'gtk3' 'qt4' 'anthy' 'libchewing')
+optdepends=('gtk3: enable gtk3 im module' 'qt4: enable qt4 im module' 'anthy: enable Anthy input method' 'libchewing: enable Chewing input method')
+options=(!strip)
+install=hime-git.install
+conflicts=('hime')
+provides=('hime')
+source=("${_pkgname}::git+https://github.com/hime-ime/hime.git")
+sha512sums=('SKIP')
+
+
+pkgver() {
+ cd "${srcdir}/${_pkgname}"
+ echo $(git rev-list --count master).$(git rev-parse --short master)
+}
+
+build() {
+ cd "${srcdir}/${_pkgname}"
+ ./configure --prefix=/usr --disable-lib64
+ make
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}"
+ make DESTDIR="${pkgdir}" install
+
+ install -dm755 "${pkgdir}/usr/share/licenses/${_pkgname}/"
+ # install licence files
+ install -Dm644 fdl-1.2.txt gpl-2.0.txt lgpl-2.1.txt "${pkgdir}/usr/share/licenses/${_pkgname}/"
+}