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

Andrea Scarpino andrea at archlinux.org
Sat Jan 24 10:26:15 UTC 2015


    Date: Saturday, January 24, 2015 @ 11:26:15
  Author: andrea
Revision: 126516

archrelease: copy trunk to community-any

Added:
  mythes-hu/repos/community-any/
  mythes-hu/repos/community-any/PKGBUILD
    (from rev 126515, mythes-hu/trunk/PKGBUILD)

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

Copied: mythes-hu/repos/community-any/PKGBUILD (from rev 126515, mythes-hu/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2015-01-24 10:26:15 UTC (rev 126516)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+# Contributor: György Balló <ballogy at freestart.hu>
+
+pkgname=mythes-hu
+pkgver=20101019
+pkgrel=1
+pkgdesc="Hungarian thesaurus"
+arch=('any')
+url="http://extensions.openoffice.org/en/project/hungarian-dictionary-pack"
+license=('GPL')
+optdepends=('libmythes: offers thesaurus library functions')
+source=(http://downloads.sourceforge.net/project/aoo-extensions/1283/9/dict-hu.oxt)
+md5sums=('d320e43e815c2dfd599dbfb7cd0e41fb')
+
+package() {
+  cd "$srcdir"
+  install -Dm644 th_hu_HU_v2.dat $pkgdir/usr/share/mythes/th_hu_HU_v2.dat
+  install -Dm644 th_hu_HU_v2.idx $pkgdir/usr/share/mythes/th_hu_HU_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
+
+  install -Dm644 README_th_hu_HU_v2.txt $pkgdir/usr/share/doc/$pkgname/README_th_hu_HU_v2.txt
+}



More information about the arch-commits mailing list