Date: Saturday, April 26, 2014 @ 20:33:16 Author: bpiotrowski Revision: 110193
upgpkg: hyphen-pl 20081206-2 free rebuild, fixes FS#40010 Modified: hyphen-pl/trunk/PKGBUILD ----------+ PKGBUILD | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-04-26 13:30:11 UTC (rev 110192) +++ PKGBUILD 2014-04-26 18:33:16 UTC (rev 110193) @@ -1,25 +1,27 @@ # $Id$ -# Maintainer: Bartłomiej Piotrowski <[email protected]> +# Maintainer: Bartłomiej Piotrowski <[email protected]> # Contributor: Maciej Sitarz <[email protected]> pkgname=hyphen-pl pkgver=20081206 -pkgrel=1 +pkgrel=2 pkgdesc='Polish hyphenation rules' arch=('any') url='http://extensions.services.openoffice.org/en/project/pl-dict' license=('LGPL') optdepends=('hyphen: offers hyphenation library functions') -source=(http://downloads.sourceforge.net/aoo-extensions/pl-dict.oxt) -md5sums=('1f329cf38a84cb21a2e84a26e125dbc3') +source=(ftp://ftp.archlinux.org/other/community/$pkgname/$pkgname-$pkgver.tar.xz{,.sig}) +md5sums=('7ecdc3975750d6d2de1e6045f5003ed4' + 'SKIP') package() { - install -dm755 ${pkgdir}/usr/share/hyphen - install -m644 hyph_pl_PL.dic ${pkgdir}/usr/share/hyphen + cd $pkgname-$pkgver - install -dm755 ${pkgdir}/usr/share/myspell/dicts - pushd $pkgdir/usr/share/myspell/dicts - for file in $pkgdir/usr/share/hyphen/*; do + install -Dm644 hyph_pl_PL.dic "$pkgdir"/usr/share/hyphen/hyph_pl_PL.dic + + 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
