[arch-commits] Commit in python-gtkspellcheck/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Jul 23 15:17:27 UTC 2018


    Date: Monday, July 23, 2018 @ 15:17:27
  Author: felixonmars
Revision: 362974

archrelease: copy trunk to community-staging-any

Added:
  python-gtkspellcheck/repos/community-staging-any/
  python-gtkspellcheck/repos/community-staging-any/PKGBUILD
    (from rev 362973, python-gtkspellcheck/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: python-gtkspellcheck/repos/community-staging-any/PKGBUILD (from rev 362973, python-gtkspellcheck/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-07-23 15:17:27 UTC (rev 362974)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: Maximilian Köhl <linuxmaxi at googlemail.com>
+
+pkgname=('python-gtkspellcheck' 'python2-gtkspellcheck')
+pkgver=4.0.5
+pkgrel=5
+pkgdesc="Spell-checking library written in Python for Gtk based on Enchant"
+arch=('any')
+url="https://github.com/koehlma/pygtkspellcheck"
+license=('GPL')
+makedepends=('gtk3' 'python-pyenchant' 'python2-pyenchant' 'python-sphinx'
+             'python2-sphinx' 'python-gobject' 'python2-gobject' 'git')
+source=(git+https://github.com/koehlma/pygtkspellcheck.git#tag=$pkgver)
+sha256sums=('SKIP')
+
+package_python-gtkspellcheck() {
+  depends=('python-pyenchant' 'python-gobject')
+
+  cd "$srcdir/pygtkspellcheck"
+  python3 setup.py install --root="$pkgdir" -O1
+}
+
+package_python2-gtkspellcheck() {
+  depends=('python2-pyenchant' 'python2-gobject')
+  provides=('python2-gtkspell')
+  replaces=('python2-gtkspell')
+  conflicts=('python2-gtkspell')
+
+  cd "$srcdir/pygtkspellcheck"
+  GTKSPELL=true python2 setup.py install --root="$pkgdir" -O1
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list