[arch-commits] Commit in (4 files)
andyrtr at archlinux.org
andyrtr at archlinux.org
Thu Dec 30 17:52:07 UTC 2010
Date: Thursday, December 30, 2010 @ 12:52:07
Author: andyrtr
Revision: 104192
add hyphen-de pkg
Added:
hyphen-de/
hyphen-de/repos/
hyphen-de/trunk/
hyphen-de/trunk/PKGBUILD
----------+
PKGBUILD | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
Added: hyphen-de/trunk/PKGBUILD
===================================================================
--- hyphen-de/trunk/PKGBUILD (rev 0)
+++ hyphen-de/trunk/PKGBUILD 2010-12-30 17:52:07 UTC (rev 104192)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+
+pkgname=hyphen-de
+pkgver=20060120
+pkgrel=1
+pkgdesc="German hyphenation rules"
+arch=(any)
+url="http://wiki.services.openoffice.org/wiki/Dictionaries#German_.28Germany.2C_....29"
+license=('LGPL')
+optdepends=('hyphen: offers hyphenation library functions')
+source=(http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/hyph_de_DE.zip
+ http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/hyph_de_CH.zip)
+md5sums=('20e5b706ee3201aa2741dabca824cd8b'
+ '7b8567cc0ee1623dded40f2cba366e91')
+
+build() {
+ /bin/true
+}
+
+package() {
+ cd "$srcdir"
+ install -dm755 ${pkgdir}/usr/share/hyphen
+ cp -p hyph_de_??.* $pkgdir/usr/share/hyphen
+
+ pushd $pkgdir/usr/share/hyphen/
+ de_DE_aliases="de_AT de_BE de_LU"
+ for lang in $de_DE_aliases; do
+ ln -s hyph_de_DE.dic hyph_$lang.dic
+ done
+ de_CH_aliases="de_LI"
+ for lang in $de_CH_aliases; do
+ ln -s hyph_de_CH.dic hyph_$lang.dic
+ done
+
+ popd
+
+ # 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
+ cp -p README_hyph_de_DE.txt $pkgdir/usr/share/doc/$pkgname
+ cp -p README_hyph_de_CH.txt $pkgdir/usr/share/doc/$pkgname
+}
Property changes on: hyphen-de/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
+ Id
More information about the arch-commits
mailing list