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

Andrea Scarpino andrea at archlinux.org
Sat Jan 24 10:18:20 UTC 2015


    Date: Saturday, January 24, 2015 @ 11:18:19
  Author: andrea
Revision: 126500

archrelease: copy trunk to community-any

Added:
  hunspell-hu/repos/community-any/
  hunspell-hu/repos/community-any/PKGBUILD
    (from rev 126499, hunspell-hu/trunk/PKGBUILD)

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

Copied: hunspell-hu/repos/community-any/PKGBUILD (from rev 126499, hunspell-hu/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2015-01-24 10:18:19 UTC (rev 126500)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+# Contributor: György Balló <ballogy at freestart.hu>
+
+pkgname=hunspell-hu
+pkgver=1.6.1
+pkgrel=3
+pkgdesc="Hungarian hunspell dictionary"
+arch=('any')
+url="http://extensions.services.openoffice.org/project/hu_dicts"
+license=('LGPL' 'GPL' 'MPL')
+optdepends=('hunspell: the spell checking libraries and apps')
+source=(http://pkgs.fedoraproject.org/repo/pkgs/mythes-hu/dict-hu.oxt/d320e43e815c2dfd599dbfb7cd0e41fb/dict-hu.oxt)
+md5sums=('d320e43e815c2dfd599dbfb7cd0e41fb')
+
+
+package() {
+  cd "$srcdir"
+  install -dm755 ${pkgdir}/usr/share/hunspell
+  install -m644 -t $pkgdir/usr/share/hunspell hu_HU.dic hu_HU.aff
+
+  # the symlinks
+  install -dm755 ${pkgdir}/usr/share/myspell/dicts
+  pushd $pkgdir/usr/share/myspell/dicts
+    for file in $pkgdir/usr/share/hunspell/*; do
+      ln -sv /usr/share/hunspell/$(basename $file) .
+    done
+  popd
+
+  # docs
+  install -Dm644 README_hu_HU.txt $pkgdir/usr/share/doc/$pkgname/README_hu_HU.txt
+}
+



More information about the arch-commits mailing list