gnu: libstemmer: Update to 2.2.0.

* gnu/packages/language.scm (libstemmer): Update to 2.2.0.
[source](uri): Use new versioned URL.
[arguments]: Remove obsolete step and trailing #t.
This commit is contained in:
Marius Bakke 2022-08-31 03:07:06 +02:00
parent d4640281f3
commit d57427af57
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -425,13 +425,14 @@ (define-public liblouisutdml
(define-public libstemmer (define-public libstemmer
(package (package
(name "libstemmer") (name "libstemmer")
(version "2.0.0") (version "2.2.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri "https://snowballstem.org/dist/libstemmer_c.tgz") (uri (string-append "https://snowballstem.org/dist/libstemmer_c-"
version ".tar.gz"))
(sha256 (sha256
(base32 "1z2xvrjsaaypc04lwz7dg8mjm5cq1gzmn0l544pn6y2ll3r7ckh5")))) (base32 "1hvphdl8pfq1q3cgh7bshsabsxc7id6wswrqilplwszkkkzdjhdr"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:tests? #f ; No tests exist `(#:tests? #f ; No tests exist
@ -450,9 +451,7 @@ (define-public libstemmer
(out-lib (string-append out "/lib"))) (out-lib (string-append out "/lib")))
(install-file "stemwords" out-bin) (install-file "stemwords" out-bin)
(install-file "include/libstemmer.h" out-include) (install-file "include/libstemmer.h" out-include)
(rename-file "libstemmer.o" "libstemmer.a") (install-file "libstemmer.a" out-lib)))))))
(install-file "libstemmer.a" out-lib)
#t))))))
(synopsis "Stemming Library") (synopsis "Stemming Library")
(description "LibStemmer provides stemming library, supporting several (description "LibStemmer provides stemming library, supporting several
languages.") languages.")