[arch-commits] Commit in hyphen-hu/trunk (PKGBUILD)

Pierre Schmitz pierre at archlinux.org
Mon Feb 27 10:10:46 EST 2012


    Date: Monday, February 27, 2012 @ 10:10:46
  Author: pierre
Revision: 151525

upgpkg: hyphen-hu 20100506-2

rebuild old package

Modified:
  hyphen-hu/trunk/PKGBUILD

----------+
 PKGBUILD |   21 +++++++--------------
 1 file changed, 7 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-27 15:07:20 UTC (rev 151524)
+++ PKGBUILD	2012-02-27 15:10:46 UTC (rev 151525)
@@ -4,23 +4,18 @@
 
 pkgname=hyphen-hu
 pkgver=20100506
-pkgrel=1
+pkgrel=2
 pkgdesc="Hungarian hyphenation rules"
-arch=(any)
+arch=('any')
 url="http://extensions.services.openoffice.org/project/hu_dicts"
 license=('LGPL' 'GPL' 'MPL')
 optdepends=('hyphen: offers hyphenation library functions')
-source=(http://extensions.services.openoffice.org/e-files/1283/9/dict-hu.oxt)
-md5sums=('d320e43e815c2dfd599dbfb7cd0e41fb')
+source=("http://vesta.informatik.rwth-aachen.de/ftp/pub/mirror/OpenOffice/contrib/dictionaries/hyph_hu_HU.zip")
+md5sums=('cc64cb3304aed59ca3fcf32f73d06134')
 
-build() {
-  /bin/true
-}
-
 package() {
   cd "$srcdir"
-  install -dm755 ${pkgdir}/usr/share/hyphen
-  cp -p hyph_hu_HU.dic $pkgdir/usr/share/hyphen
+  install -Dm0644 hyph_hu_HU.dic $pkgdir/usr/share/hyphen/hyph_hu_HU.dic
 
   # the symlinks
   install -dm755 ${pkgdir}/usr/share/myspell/dicts
@@ -29,9 +24,7 @@
       ln -sv /usr/share/hyphen/$(basename $file) .
     done
   popd
-  
-  # docs
-  install -dm755 ${pkgdir}/usr/share/doc/$pkgname
-  cp -p README_hyph_hu_HU.txt $pkgdir/usr/share/doc/$pkgname
+
+  install -Dm0644 README_hyph_hu_HU.txt $pkgdir/usr/share/doc/$pkgname/README_hyph_hu_HU.txt
 }
 



More information about the arch-commits mailing list