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

Felix Yan felixonmars at archlinux.org
Thu Nov 12 19:06:09 UTC 2020


    Date: Thursday, November 12, 2020 @ 19:06:09
  Author: felixonmars
Revision: 400689

archrelease: copy trunk to staging-x86_64

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

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

Copied: libvoikko/repos/staging-x86_64/PKGBUILD (from rev 400688, libvoikko/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-11-12 19:06:09 UTC (rev 400689)
@@ -0,0 +1,34 @@
+# Maintainer: 
+# Contributor:	Jesse Jaara	<gmail.com: jesse.jaara>
+# Contributor:	Jussi Timperi	<gmail.com: jussi.timperi>
+
+pkgname=libvoikko
+pkgver=4.3
+pkgrel=3
+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.9/site-packages
+  cp python/libvoikko.py "$pkgdir"/usr/lib/python3.9/site-packages/libvoikko.py
+}



More information about the arch-commits mailing list