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

Felix Yan felixonmars at archlinux.org
Tue Nov 10 05:05:12 UTC 2020


    Date: Tuesday, November 10, 2020 @ 05:05:11
  Author: felixonmars
Revision: 400028

archrelease: copy trunk to staging-x86_64

Added:
  link-grammar/repos/staging-x86_64/
  link-grammar/repos/staging-x86_64/PKGBUILD
    (from rev 400027, link-grammar/trunk/PKGBUILD)

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

Copied: link-grammar/repos/staging-x86_64/PKGBUILD (from rev 400027, link-grammar/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-11-10 05:05:11 UTC (rev 400028)
@@ -0,0 +1,32 @@
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=link-grammar
+pkgver=5.8.0
+pkgrel=2
+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')
+sha256sums=('ad65a6b47ca0665b814430a5a8ff4de51f4805f7fb76642ced90297b4e7f16ed'
+            '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
+}



More information about the arch-commits mailing list