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

Evangelos Foutras foutrelis at archlinux.org
Sat May 16 12:19:09 UTC 2020


    Date: Saturday, May 16, 2020 @ 12:19:09
  Author: foutrelis
Revision: 384491

archrelease: copy trunk to staging-any

Added:
  mythes-ro/repos/staging-any/
  mythes-ro/repos/staging-any/PKGBUILD
    (from rev 384490, mythes-ro/trunk/PKGBUILD)

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

Copied: mythes-ro/repos/staging-any/PKGBUILD (from rev 384490, mythes-ro/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2020-05-16 12:19:09 UTC (rev 384491)
@@ -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