[arch-commits] Commit in mythes-ro/repos (community-any community-any/PKGBUILD)

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


    Date: Saturday, May 8, 2021 @ 09:42:26
  Author: arojas
Revision: 928765

archrelease: copy trunk to community-any

Added:
  mythes-ro/repos/community-any/
  mythes-ro/repos/community-any/PKGBUILD
    (from rev 928764, mythes-ro/trunk/PKGBUILD)

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

Copied: mythes-ro/repos/community-any/PKGBUILD (from rev 928764, mythes-ro/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2021-05-08 09:42:26 UTC (rev 928765)
@@ -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