[arch-commits] Commit in mythes-pl/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 16:41:17 UTC 2020


    Date: Tuesday, July 7, 2020 @ 16:41:17
  Author: felixonmars
Revision: 659358

archrelease: copy trunk to community-staging-any

Added:
  mythes-pl/repos/community-staging-any/
  mythes-pl/repos/community-staging-any/PKGBUILD
    (from rev 659357, mythes-pl/trunk/PKGBUILD)

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

Copied: mythes-pl/repos/community-staging-any/PKGBUILD (from rev 659357, mythes-pl/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 16:41:17 UTC (rev 659358)
@@ -0,0 +1,30 @@
+# Maintainer:  Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Maciej Sitarz <macieks at freesco.pl>
+
+pkgname=mythes-pl
+pkgver=1.5
+pkgrel=4
+pkgdesc='Polish thesaurus'
+arch=('any')
+url='http://synonimy.ux.pl/'
+license=('LGPL')
+optdepends=('libmythes: offers thesaurus library functions')
+source=(https://downloads.sourceforge.net/synonimy/OOo2-Thesaurus-$pkgver.zip)
+md5sums=('c5ff330768241baf2d61f15fbb9be1b9')
+
+package() {
+  install -dm755 "$pkgdir"/usr/share/mythes
+  install -m644 th_pl_PL_v2.* "$pkgdir"/usr/share/mythes
+
+  # 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
+
+  # docs
+  install -dm755 "$pkgdir"/usr/share/doc/$pkgname
+  install -m644 README_th_pl_PL_v2.txt "$pkgdir"/usr/share/doc/$pkgname
+}



More information about the arch-commits mailing list