[arch-commits] Commit in hunspell-de/repos (testing-any testing-any/PKGBUILD)
Pierre Schmitz
pierre at archlinux.org
Wed Dec 23 06:03:53 UTC 2015
Date: Wednesday, December 23, 2015 @ 07:03:53
Author: pierre
Revision: 257206
archrelease: copy trunk to testing-any
Added:
hunspell-de/repos/testing-any/
hunspell-de/repos/testing-any/PKGBUILD
(from rev 257205, hunspell-de/trunk/PKGBUILD)
----------+
PKGBUILD | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 53 insertions(+)
Copied: hunspell-de/repos/testing-any/PKGBUILD (from rev 257205, hunspell-de/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD (rev 0)
+++ testing-any/PKGBUILD 2015-12-23 06:03:53 UTC (rev 257206)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+# Contributor: Alexander Fehr <pizzapunk gmail com>
+
+pkgname=hunspell-de
+pkgver=20151222
+pkgrel=1
+pkgdesc="German hunspell dictionaries"
+arch=('any')
+url="http://www.j3e.de/ispell/igerman98/"
+license=('GPL')
+makedepends=('hunspell' 'ispell')
+optdepends=('hunspell: the spell checking libraries and apps')
+source=("http://www.j3e.de/ispell/igerman98/dict/igerman98-$pkgver.tar.bz2")
+md5sums=('d4cc73954389454e4045e0c4c6824813')
+
+build() {
+ cd "$srcdir/igerman98-$pkgver"
+ make hunspell/de_AT.dic hunspell/de_AT.aff \
+ hunspell/de_CH.dic hunspell/de_CH.aff \
+ hunspell/de_DE.dic hunspell/de_DE.aff
+}
+
+package() {
+ cd "$srcdir/igerman98-$pkgver/hunspell"
+ install -dm755 ${pkgdir}/usr/share/hunspell
+ cp -p de_??.dic de_??.aff $pkgdir/usr/share/hunspell
+
+ pushd $pkgdir/usr/share/hunspell/
+ de_DE_aliases="de_BE de_LU"
+ for lang in $de_DE_aliases; do
+ ln -s de_DE.aff $lang.aff
+ ln -s de_DE.dic $lang.dic
+ done
+ de_CH_aliases="de_LI"
+ for lang in $de_CH_aliases; do
+ ln -s de_CH.aff $lang.aff
+ ln -s de_CH.dic $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/hunspell/*; do
+ ln -sv /usr/share/hunspell/$(basename $file) .
+ done
+ popd
+
+ # docs
+ install -dm755 ${pkgdir}/usr/share/doc/$pkgname
+ cp -p README_de_??.txt $pkgdir/usr/share/doc/$pkgname
+}
More information about the arch-commits
mailing list