[arch-commits] Commit in grammalecte/repos (community-any community-any/PKGBUILD)

Bruno Pagani archange at archlinux.org
Sun Apr 14 21:32:03 UTC 2019


    Date: Sunday, April 14, 2019 @ 21:32:02
  Author: archange
Revision: 451658

archrelease: copy trunk to community-any

Added:
  grammalecte/repos/community-any/
  grammalecte/repos/community-any/PKGBUILD
    (from rev 451657, grammalecte/trunk/PKGBUILD)

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

Copied: grammalecte/repos/community-any/PKGBUILD (from rev 451657, grammalecte/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2019-04-14 21:32:02 UTC (rev 451658)
@@ -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