[arch-commits] Commit in link-grammar/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Wed Dec 1 14:51:59 UTC 2021
Date: Wednesday, December 1, 2021 @ 14:51:58
Author: felixonmars
Revision: 430014
archrelease: copy trunk to staging-x86_64
Added:
link-grammar/repos/staging-x86_64/
link-grammar/repos/staging-x86_64/PKGBUILD
(from rev 430012, link-grammar/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: link-grammar/repos/staging-x86_64/PKGBUILD (from rev 430012, link-grammar/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2021-12-01 14:51:58 UTC (rev 430014)
@@ -0,0 +1,33 @@
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=link-grammar
+pkgver=5.10.2
+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'
+ '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
+}
More information about the arch-commits
mailing list