[arch-commits] Commit in (4 files)

Bruno Pagani archange at archlinux.org
Sun Apr 14 21:31:44 UTC 2019


    Date: Sunday, April 14, 2019 @ 21:31:43
  Author: archange
Revision: 451657

Initial addition of grammalecte to [community]

Added:
  grammalecte/
  grammalecte/repos/
  grammalecte/trunk/
  grammalecte/trunk/PKGBUILD

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

Added: grammalecte/trunk/PKGBUILD
===================================================================
--- grammalecte/trunk/PKGBUILD	                        (rev 0)
+++ grammalecte/trunk/PKGBUILD	2019-04-14 21:31:43 UTC (rev 451657)
@@ -0,0 +1,24 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=grammalecte
+pkgver=1.0
+pkgrel=1
+pkgdesc="Grammar and typographic checker dedicated to the French language – standalone version"
+arch=(any)
+url="https://grammalecte.net/"
+license=(GPL3)
+depends=(python)
+makedepends=(unzip python-setuptools)
+options=(!emptydirs)
+source=("https://grammalecte.net/grammalecte/zip/Grammalecte-fr-v${pkgver}.zip")
+sha256sums=('c7a35d9fbbb064d1c88bda854f3674a58bdc9985fed97f927d10380ff359c968')
+
+build() {
+  python setup.py build
+}
+
+package() {
+  python setup.py install --root="${pkgdir}" --skip-build --optimize=1
+  mv "${pkgdir}"/usr/bin/grammalecte-cli{.py,}
+  mv "${pkgdir}"/usr/bin/grammalecte-server{.py,}
+}


More information about the arch-commits mailing list