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

Felix Yan felixonmars at archlinux.org
Sat May 16 10:49:50 UTC 2020


    Date: Saturday, May 16, 2020 @ 10:49:47
  Author: felixonmars
Revision: 384196

archrelease: copy trunk to staging-x86_64

Added:
  libvoikko/repos/staging-x86_64/
  libvoikko/repos/staging-x86_64/PKGBUILD
    (from rev 384195, libvoikko/trunk/PKGBUILD)

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

Copied: libvoikko/repos/staging-x86_64/PKGBUILD (from rev 384195, libvoikko/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-16 10:49:47 UTC (rev 384196)
@@ -0,0 +1,35 @@
+# Maintainer: 
+# Contributor:	Jesse Jaara	<gmail.com: jesse.jaara>
+# Contributor:	Jussi Timperi	<gmail.com: jussi.timperi>
+
+pkgname=libvoikko
+pkgver=4.3
+pkgrel=2
+pkgdesc="A spelling and grammar checker, hyphenator and collection of related linguistic data for Finnish language"
+arch=(x86_64)
+url="http://voikko.sourceforge.net"
+license=(GPL2)
+depends=(gcc-libs)
+makedepends=(python)
+source=(https://www.puimula.org/voikko-sources/libvoikko/$pkgname-$pkgver.tar.gz{,.asc})
+sha512sums=('804d55d34deca52f882580ff8699a548d0b62d79eb8e27f8f5783a9e0e57d1ab8986963084df2b5fc7ca9f45546e6e4d66e195a42cfbe0327ca02dc211563988'
+            'SKIP')
+validpgpkeys=('AC5D65F10C8596D7E2DAE2633D309B604AE3942E') # Harri Pitkänen <hatapitk at iki.fi>
+
+build() {
+  cd $pkgname-$pkgver
+
+# Workaround encoding error
+  export LANG=en_US.UTF-8
+  ./configure --prefix=/usr --enable-hfst=false --with-dictionary-path=/usr/share/voikko
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  make DESTDIR="$pkgdir" install
+  mkdir -p "$pkgdir"/usr/lib/python3.8/site-packages
+  cp python/libvoikko.py "$pkgdir"/usr/lib/python3.8/site-packages/libvoikko.py
+}
+



More information about the arch-commits mailing list