[arch-commits] Commit in link-grammar/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Fri Oct 25 19:18:50 UTC 2019
Date: Friday, October 25, 2019 @ 19:18:49
Author: foutrelis
Revision: 365695
archrelease: copy trunk to staging-x86_64
Added:
link-grammar/repos/staging-x86_64/
link-grammar/repos/staging-x86_64/PKGBUILD
(from rev 365694, link-grammar/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: link-grammar/repos/staging-x86_64/PKGBUILD (from rev 365694, link-grammar/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2019-10-25 19:18:49 UTC (rev 365695)
@@ -0,0 +1,32 @@
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=link-grammar
+pkgver=5.5.1
+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' 'python2' 'swig' 'apache-ant' 'java-environment=11')
+options=('!makeflags')
+source=(https://www.abisource.com/downloads/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz{,.asc})
+validpgpkeys=('6407453C98BECC19ADB03D82EB6AA534E0C0651C')
+sha256sums=('ce8934e3be937611e3dff4e2b61a2675380752ad6815b63336ebac917d9013f5'
+ '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