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

Allan McRae allan at archlinux.org
Sun Feb 19 00:43:33 UTC 2012


    Date: Saturday, February 18, 2012 @ 19:43:33
  Author: allan
Revision: 150624

upgpkg: hunspell-hu 1.6.1-2

signing rebuild

Modified:
  hunspell-hu/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-19 00:37:36 UTC (rev 150623)
+++ PKGBUILD	2012-02-19 00:43:33 UTC (rev 150624)
@@ -4,23 +4,20 @@
 
 pkgname=hunspell-hu
 pkgver=1.6.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Hungarian hunspell dictionary"
-arch=(any)
+arch=('any')
 url="http://extensions.services.openoffice.org/project/hu_dicts"
 license=('LGPL' 'GPL' 'MPL')
 optdepends=('hunspell: the spell checking libraries and apps')
 source=(http://extensions.services.openoffice.org/e-files/1283/9/dict-hu.oxt)
 md5sums=('d320e43e815c2dfd599dbfb7cd0e41fb')
 
-build() {
-  /bin/true
-}
 
 package() {
   cd "$srcdir"
   install -dm755 ${pkgdir}/usr/share/hunspell
-  cp -p hu_HU.dic hu_HU.aff $pkgdir/usr/share/hunspell
+  install -m644 -t $pkgdir/usr/share/hunspell hu_HU.dic hu_HU.aff
 
   # the symlinks
   install -dm755 ${pkgdir}/usr/share/myspell/dicts
@@ -31,7 +28,6 @@
   popd
   
   # docs
-  install -dm755 ${pkgdir}/usr/share/doc/$pkgname
-  cp -p README_hu_HU.txt $pkgdir/usr/share/doc/$pkgname
+  install -Dm644 README_hu_HU.txt $pkgdir/usr/share/doc/$pkgname/README_hu_HU.txt
 }
 




More information about the arch-commits mailing list