summaryrefslogtreecommitdiff
path: root/community/libkkc
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/libkkc
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/libkkc')
-rw-r--r--community/libkkc/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/community/libkkc/PKGBUILD b/community/libkkc/PKGBUILD
new file mode 100644
index 000000000..91970093b
--- /dev/null
+++ b/community/libkkc/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 94838 2013-07-31 03:58:39Z fyan $
+# Maintainer: Felix Yan <felixonmars@gmail.com>
+# Contributor: ponsfoot <cabezon dot hashimoto at gmail dot com>
+
+pkgname=libkkc
+pkgver=0.2.7
+pkgrel=1
+pkgdesc="Japanese Kana Kanji conversion library"
+arch=('i686' 'x86_64')
+url="https://bitbucket.org/libkkc"
+license=('GPL')
+options=(!libtool)
+depends=('marisa' 'json-glib' 'libgee06')
+makedepends=('vala' 'gobject-introspection' 'intltool' 'python2-marisa')
+optdepends=('sh: to use kkc-package-data')
+source=(https://bitbucket.org/libkkc/libkkc/downloads/${pkgname}-${pkgver}.tar.gz)
+
+build() {
+ cd "${pkgname}-${pkgver}"
+
+ PYTHON=/usr/bin/python2 \
+ ./configure --prefix=/usr --disable-static --disable-silent-rules
+ make
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ make DESTDIR="$pkgdir" install
+ install -d "${pkgdir}/usr/share/doc/${pkgname}-${pkgver}"
+ install -m 644 README data/rules/README.rules COPYING \
+ "${pkgdir}/usr/share/doc/${pkgname}-${pkgver}/"
+}
+
+sha512sums=('2bb056cf00b6212a18462a5f952d4557944b29f49a92b0701abed5f5d6601fdb3b57c4e09a0b3db8ff39be01e91ab658656b89f576663046e53478ed07fe87af')