[arch-commits] Commit in link-grammar/repos/testing-x86_64 (PKGBUILD PKGBUILD)

Evangelos Foutras foutrelis at gemini.archlinux.org
Fri Dec 10 15:31:22 UTC 2021


    Date: Friday, December 10, 2021 @ 15:31:22
  Author: foutrelis
Revision: 431827

archrelease: copy trunk to testing-x86_64

Added:
  link-grammar/repos/testing-x86_64/PKGBUILD
    (from rev 431826, link-grammar/trunk/PKGBUILD)
Deleted:
  link-grammar/repos/testing-x86_64/PKGBUILD

----------+
 PKGBUILD |   73 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 40 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-10 15:31:18 UTC (rev 431826)
+++ PKGBUILD	2021-12-10 15:31:22 UTC (rev 431827)
@@ -1,33 +0,0 @@
-# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
-# Contributor: Jan de Groot <jgc at archlinux.org>
-
-pkgname=link-grammar
-pkgver=5.10.2
-pkgrel=3
-pkgdesc="A Grammar Checking library"
-arch=('x86_64')
-url="https://www.abisource.com/projects/link-grammar/"
-license=('LGPL')
-depends=('hunspell' 'sqlite' 'libedit')
-makedepends=('python' 'swig' 'apache-ant' 'java-environment=11')
-options=('!makeflags')
-source=(https://www.abisource.com/downloads/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz{,.asc})
-validpgpkeys=('6407453C98BECC19ADB03D82EB6AA534E0C0651C'
-              '8305252160000B5E89843F5464A99A8201045933') # Linas Vepstas <linasvepstas at gmail.com>
-sha256sums=('28cec752eaa0e3897ae961333b6927459f8b69fefe68c2aa5272983d7db869b6'
-            'SKIP')
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  ./configure --prefix=/usr
-
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  make DESTDIR="${pkgdir}" install
-}

Copied: link-grammar/repos/testing-x86_64/PKGBUILD (from rev 431826, link-grammar/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-10 15:31:22 UTC (rev 431827)
@@ -0,0 +1,40 @@
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=link-grammar
+pkgver=5.10.2
+pkgrel=4
+pkgdesc="A Grammar Checking library"
+arch=('x86_64')
+url="https://www.abisource.com/projects/link-grammar/"
+license=('LGPL')
+depends=('hunspell' 'sqlite' 'libedit')
+makedepends=('python' 'swig' 'apache-ant' 'java-environment=11')
+options=('!makeflags')
+source=(https://www.abisource.com/downloads/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz{,.asc})
+validpgpkeys=('6407453C98BECC19ADB03D82EB6AA534E0C0651C'
+              '8305252160000B5E89843F5464A99A8201045933') # Linas Vepstas <linasvepstas at gmail.com>
+sha256sums=('28cec752eaa0e3897ae961333b6927459f8b69fefe68c2aa5272983d7db869b6'
+            'SKIP')
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  # Fix build with Python 3.10
+  sed -i '/test -n "$lg_python_unusable" && PythonFound=no/d' configure
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  ./configure --prefix=/usr
+
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  make DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list