[arch-commits] Commit in (4 files)

Antonio Rojas arojas at archlinux.org
Sat May 8 09:42:19 UTC 2021


    Date: Saturday, May 8, 2021 @ 09:42:19
  Author: arojas
Revision: 928764

extra2community: Moving mythes-ro from extra to community

Added:
  mythes-ro/
  mythes-ro/repos/
  mythes-ro/trunk/
  mythes-ro/trunk/PKGBUILD

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

Added: mythes-ro/trunk/PKGBUILD
===================================================================
--- mythes-ro/trunk/PKGBUILD	                        (rev 0)
+++ mythes-ro/trunk/PKGBUILD	2021-05-08 09:42:19 UTC (rev 928764)
@@ -0,0 +1,27 @@
+# Maintainer: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=mythes-ro
+pkgver=3.3
+pkgrel=7
+pkgdesc="Romanian thesaurus"
+arch=('any')
+url="https://sourceforge.net/projects/rospell/"
+license=('GPL')
+optdepends=('libmythes: offers thesaurus library functions')
+source=(https://downloads.sourceforge.net/rospell/th_ro_RO.${pkgver}.zip)
+md5sums=('3ed53f2e3774fec2d6addd88c4ac7170')
+
+package() {
+  install -dm755 "${pkgdir}"/usr/share/mythes
+
+  install -m644 th_ro_RO.dat "${pkgdir}/usr/share/mythes/th_ro_RO_v2.dat"
+  install -m644 th_ro_RO.idx "${pkgdir}/usr/share/mythes/th_ro_RO_v2.idx"
+
+  # 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