summaryrefslogtreecommitdiff
path: root/community/cellwriter
diff options
context:
space:
mode:
Diffstat (limited to 'community/cellwriter')
-rw-r--r--community/cellwriter/PKGBUILD34
-rw-r--r--community/cellwriter/cellwriter.install14
2 files changed, 48 insertions, 0 deletions
diff --git a/community/cellwriter/PKGBUILD b/community/cellwriter/PKGBUILD
new file mode 100644
index 000000000..ebac22ee5
--- /dev/null
+++ b/community/cellwriter/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
+# Contributor: Cilyan Olowen <gaknar@gmail.com>
+# Contributor: Alexander Markov <apsheronets@gmail.com>
+# Contributor: Winston Weinert
+
+pkgname=cellwriter
+pkgver=1.3.4
+pkgrel=6
+pkgdesc='A grid-entry natural handwriting input panel.'
+arch=('i686' 'x86_64')
+license=('GPL')
+url='http://v1.risujin.org/cellwriter/'
+depends=('gtk2' 'libxtst' 'libgnome' 'hicolor-icon-theme')
+source=("http://v1.risujin.org/pub/cellwriter/${pkgname}-${pkgver}.tar.gz"
+ "http://launchpadlibrarian.net/18959127/${pkgname}-${pkgver}-cellwidget-dont-disable-xinput.diff")
+md5sums=('72b4e552a32d6acd888da0b88aeebbdd'
+ '5e8c61309c5ec8f67f0af7bb5ceb1aea')
+install="${pkgname}.install"
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}/src"
+
+ patch -p0 < "${srcdir}/${pkgname}-${pkgver}-cellwidget-dont-disable-xinput.diff"
+
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ env LDFLAGS='-lX11' ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/community/cellwriter/cellwriter.install b/community/cellwriter/cellwriter.install
new file mode 100644
index 000000000..db21d5f09
--- /dev/null
+++ b/community/cellwriter/cellwriter.install
@@ -0,0 +1,14 @@
+post_install() {
+ echo "Updating GTK icon cache ..."
+ /usr/bin/gtk-update-icon-cache -f -t /usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ echo "Updating GTK icon cache ..."
+ /usr/bin/gtk-update-icon-cache -f -t /usr/share/icons/hicolor
+}
+
+post_remove() {
+ echo "Updating GTK icon cache ..."
+ /usr/bin/gtk-update-icon-cache -f -t /usr/share/icons/hicolor
+}