Date: Friday, April 28, 2023 @ 10:01:20 Author: arojas Revision: 475269
archrelease: copy trunk to extra-x86_64 Added: libvoikko/repos/extra-x86_64/PKGBUILD (from rev 475268, libvoikko/trunk/PKGBUILD) libvoikko/repos/extra-x86_64/keys/ Deleted: libvoikko/repos/extra-x86_64/PKGBUILD ----------+ PKGBUILD | 69 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 35 insertions(+), 34 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2023-04-28 10:01:06 UTC (rev 475268) +++ PKGBUILD 2023-04-28 10:01:20 UTC (rev 475269) @@ -1,34 +0,0 @@ -# Maintainer: -# Contributor: Jesse Jaara <gmail.com: jesse.jaara> -# Contributor: Jussi Timperi <gmail.com: jussi.timperi> - -pkgname=libvoikko -pkgver=4.3.1 -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=('6677fac7c0cba1289dda23b0c0a4bbe44480ce747189d40634ac57811728c1942a795efd50270e933373fabab9c54e82a8f9fde06d936442820e3f8019574f08' - 'SKIP') -validpgpkeys=('AC5D65F10C8596D7E2DAE2633D309B604AE3942E') # Harri Pitkänen <hatap...@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.10/site-packages - cp python/libvoikko.py "$pkgdir"/usr/lib/python3.10/site-packages/libvoikko.py -} Copied: libvoikko/repos/extra-x86_64/PKGBUILD (from rev 475268, libvoikko/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2023-04-28 10:01:20 UTC (rev 475269) @@ -0,0 +1,35 @@ +# Maintainer: +# Contributor: Jesse Jaara <gmail.com: jesse.jaara> +# Contributor: Jussi Timperi <gmail.com: jussi.timperi> + +pkgname=libvoikko +pkgver=4.3.2 +pkgrel=1 +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=('d510a9344501f86b2f644c1237faf8709f02b5d17bca76f7934c8422495aeee307f12c60dde47df15a39c24c3311253d3dea2d0648050fc3a056a22497de695c' + 'SKIP') +validpgpkeys=('AC5D65F10C8596D7E2DAE2633D309B604AE3942E') # Harri Pitkänen <hatap...@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 + local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))') + + make DESTDIR="$pkgdir" install + mkdir -p "$pkgdir"/usr/lib/"python${python_version}"/site-packages + cp python/libvoikko.py "$pkgdir"/usr/lib/"python${python_version}"/site-packages/libvoikko.py +}