summaryrefslogtreecommitdiff
path: root/community/libkkc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libkkc/PKGBUILD')
-rw-r--r--community/libkkc/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/community/libkkc/PKGBUILD b/community/libkkc/PKGBUILD
new file mode 100644
index 000000000..32afb6144
--- /dev/null
+++ b/community/libkkc/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars@gmail.com>
+# Contributor: ponsfoot <cabezon dot hashimoto at gmail dot com>
+
+pkgname=libkkc
+pkgver=0.2.4
+pkgrel=2
+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')
+changelog=ChangeLog
+source=(https://bitbucket.org/libkkc/libkkc/downloads/${pkgname}-${pkgver}.tar.gz)
+sha1sums=('28bafb612f8176735f02bd6f49581e072700af4e')
+
+build() {
+ cd "${pkgname}-${pkgver}"
+
+ #VALAC=/usr/bin/valac-0.18 \
+ 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}/"
+}