Date: Friday, April 7, 2023 @ 03:53:52
Author: felixonmars
Revision: 1440380
archrelease: copy trunk to community-staging-any
Added:
grammalecte/repos/community-staging-any/
grammalecte/repos/community-staging-any/PKGBUILD
(from rev 1440379, grammalecte/trunk/PKGBUILD)
----------+
PKGBUILD | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
Copied: grammalecte/repos/community-staging-any/PKGBUILD (from rev 1440379,
grammalecte/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-07 03:53:52 UTC (rev 1440380)
@@ -0,0 +1,24 @@
+# Maintainer: Bruno Pagani <[email protected]>
+
+pkgname=grammalecte
+pkgver=2.1.1
+pkgrel=3
+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=('f643eca603652469947d9bd85fb0ec08f8eb0f7b6ab925d2fb18bfc6fdd8d21c')
+
+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,}
+}