[arch-commits] Commit in hyphen-pl/trunk (PKGBUILD)
Bartłomiej Piotrowski
bpiotrowski at nymeria.archlinux.org
Fri Jul 5 19:53:12 UTC 2013
Date: Friday, July 5, 2013 @ 21:53:11
Author: bpiotrowski
Revision: 93579
upgpkg: hyphen-pl 20081206-1
- newest snapshot
Modified:
hyphen-pl/trunk/PKGBUILD
----------+
PKGBUILD | 39 +++++++++++++--------------------------
1 file changed, 13 insertions(+), 26 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-07-05 19:42:56 UTC (rev 93578)
+++ PKGBUILD 2013-07-05 19:53:11 UTC (rev 93579)
@@ -3,37 +3,24 @@
# Contributor: Maciej Sitarz <macieks at freesco.pl>
pkgname=hyphen-pl
-pkgver=20060726
+pkgver=20081206
pkgrel=1
-pkgdesc="Polish hyphenation rules"
+pkgdesc='Polish hyphenation rules'
arch=('any')
-url="http://wiki.services.openoffice.org/wiki/Dictionaries"
+url='http://extensions.services.openoffice.org/en/project/pl-dict'
license=('LGPL')
optdepends=('hyphen: offers hyphenation library functions')
-source=(http://pl.openoffice.org/pliki/hyph_pl_PL.zip)
-md5sums=('e015c046f60437d39223b1253b78a4e2')
+source=(http://downloads.sourceforge.net/aoo-extensions/pl-dict.oxt)
+md5sums=('1f329cf38a84cb21a2e84a26e125dbc3')
-build() {
- cd "$srcdir"
- bsdtar -xf hyph_pl_PL.zip
-}
-
package() {
- cd "$srcdir"
+ install -dm755 ${pkgdir}/usr/share/hyphen
+ install -m644 hyph_pl_PL.dic ${pkgdir}/usr/share/hyphen
- install -dm755 ${pkgdir}/usr/share/hyphen
- install -m644 hyph_pl_PL.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 -m644 README_hyph_pl_PL.txt $pkgdir/usr/share/doc/$pkgname
-
+ 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