[arch-commits] Commit in mythes-it/repos (community-any community-any/PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat May 8 09:41:48 UTC 2021
Date: Saturday, May 8, 2021 @ 09:41:48
Author: arojas
Revision: 928763
archrelease: copy trunk to community-any
Added:
mythes-it/repos/community-any/
mythes-it/repos/community-any/PKGBUILD
(from rev 928762, mythes-it/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: mythes-it/repos/community-any/PKGBUILD (from rev 928762, mythes-it/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2021-05-08 09:41:48 UTC (rev 928763)
@@ -0,0 +1,37 @@
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=mythes-it
+pkgver=2.0.9l
+_pkgver=02_09_l
+_date=2008_11_29
+pkgrel=6
+pkgdesc="Italian thesaurus"
+arch=('any')
+url="https://sourceforge.net/projects/linguistico/"
+license=('GPL3')
+optdepends=('libmythes: offers thesaurus library functions')
+source=("https://downloads.sourceforge.net/linguistico/thesaurus2_it_${_pkgver}_${_date}.zip")
+md5sums=('e3df0f7a03df3b4bf0525f6b6548e129')
+
+package() {
+ install -dm755 "${pkgdir}"/usr/share/mythes
+
+ install -m644 th_it_IT.dat "${pkgdir}/usr/share/mythes/th_it_IT_v2.dat"
+ install -m644 th_it_IT.idx "${pkgdir}/usr/share/mythes/th_it_IT_v2.idx"
+
+ pushd "${pkgdir}"/usr/share/mythes/
+ it_IT_aliases="it_CH"
+ for lang in $it_IT_aliases; do
+ ln -s th_it_IT_v2.idx th_${lang}_v2.idx
+ ln -s th_it_IT_v2.dat th_${lang}_v2.dat
+ done
+ popd
+
+ # the symlinks
+ install -dm755 "${pkgdir}"/usr/share/myspell/dicts
+ pushd "${pkgdir}"/usr/share/myspell/dicts
+ for file in "${pkgdir}"/usr/share/mythes/*; do
+ ln -sv /usr/share/mythes/$(basename $file) .
+ done
+ popd
+}
More information about the arch-commits
mailing list