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

Antonio Rojas arojas at archlinux.org
Thu May 31 07:16:29 UTC 2018


    Date: Thursday, May 31, 2018 @ 07:16:28
  Author: arojas
Revision: 334273

archrelease: copy trunk to community-any

Added:
  hyphen-ro/repos/community-any/
  hyphen-ro/repos/community-any/PKGBUILD
    (from rev 334272, hyphen-ro/trunk/PKGBUILD)

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

Copied: hyphen-ro/repos/community-any/PKGBUILD (from rev 334272, hyphen-ro/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2018-05-31 07:16:28 UTC (rev 334273)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=hyphen-ro
+pkgver=3.3.6
+pkgrel=4
+pkgdesc="Romanian hyphenation rules"
+arch=('any')
+url="http://sourceforge.net/projects/rospell/"
+license=('GPL')
+optdepends=('hyphen: offers hyphenation library functions')
+source=(http://downloads.sourceforge.net/rospell/hyph_ro_RO.${pkgver}.zip)
+md5sums=('1f623974fda904ad828daaf01adf9ffa')
+
+package() {
+  cd "${srcdir}"
+
+  install -dm755 ${pkgdir}/usr/share/hyphen
+
+  install -m644 hyph_ro_RO.dic "${pkgdir}/usr/share/hyphen/hyph_ro_RO.dic"
+
+  # the symlinks
+  install -dm755 ${pkgdir}/usr/share/myspell/dicts
+  pushd $pkgdir/usr/share/myspell/dicts
+    for file in $pkgdir/usr/share/hyphen/*; do
+      ln -sv /usr/share/hyphen/$(basename $file) .
+    done
+  popd
+}



More information about the arch-commits mailing list