summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD40
2 files changed, 13 insertions, 33 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5161beded18a..c753efdc9fd0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,13 @@
-# Generated by mksrcinfo v8
-# Sat Jun 9 15:18:48 UTC 2018
pkgbase = hyphen-ru
pkgdesc = Russian hyphenation rules
pkgver = 0.1
- pkgrel = 2
+ pkgrel = 3
url = http://wiki.services.openoffice.org/wiki/Dictionaries
arch = any
license = LGPL
optdepends = hyphen: offers hyphenation library functions
source = https://master.dl.sourceforge.net/project/openofficeorg.mirror/contrib/dictionaries/hyph_ru_RU.zip
- md5sums = f8a8b8a368bc7394b5a4060082c44bb4
+ sha256sums = 95b2198f937f1ba1fe2373302c81517ee88a38c237a1ed5557c543a7e2b141df
pkgname = hyphen-ru
diff --git a/PKGBUILD b/PKGBUILD
index 07525ff89dc2..58d1f50eaed8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,10 +1,9 @@
-# $Id$
-
-pkgname=('hyphen-ru')
+# Maintainer: Dmytro Meleshko <dmytro.meleshko@gmail.com>
+pkgname=hyphen-ru
pkgver=0.1
-pkgrel=2
+pkgrel=3
pkgdesc="Russian hyphenation rules"
-arch=(any)
+arch=('any')
url="http://wiki.services.openoffice.org/wiki/Dictionaries"
license=('LGPL')
optdepends=('hyphen: offers hyphenation library functions')
@@ -12,31 +11,14 @@ source=(#http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionar
# mirror from ApacheOpenOffice - see: http://www.openoffice.org/distribution/mirrors/master.html
# http://sunsite.informatik.rwth-aachen.de/ftp/pub/mirror/OpenOffice/contrib/dictionaries/hyph_ru_RU.zip
https://master.dl.sourceforge.net/project/openofficeorg.mirror/contrib/dictionaries/hyph_ru_RU.zip)
-md5sums=('f8a8b8a368bc7394b5a4060082c44bb4')
-
-
-build() {
- /bin/true
-}
-
+sha256sums=('95b2198f937f1ba1fe2373302c81517ee88a38c237a1ed5557c543a7e2b141df')
package() {
-
cd "$srcdir"
- install -dm755 ${pkgdir}/usr/share/hyphen
- #cp -p hyph_ru_RU.dic $pkgdir/usr/share/hyphen
- install -m 644 hyph_ru_RU.dic $pkgdir/usr/share/hyphen
-
- # 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
-
- # docs
- install -dm755 ${pkgdir}/usr/share/doc/$pkgname
- install -m 644 README_hyph_ru_RU.txt $pkgdir/usr/share/doc/$pkgname
+ install -vdm755 "$pkgdir/usr/share/"{hyphen,myspell/dicts,"doc/$pkgname"}
+ for dict in hyph_ru_RU.dic; do
+ install -vm644 "$dict" "$pkgdir/usr/share/hyphen"
+ ln -sv "/usr/share/hyphen/$dict" "$pkgdir/usr/share/myspell/dicts"
+ done
+ install -vm644 README_hyph_ru_RU.txt "$pkgdir/usr/share/doc/$pkgname"
}
-