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

Andrea Scarpino andrea at archlinux.org
Sun Jan 2 01:15:04 UTC 2011


    Date: Saturday, January 1, 2011 @ 20:15:04
  Author: andrea
Revision: 104375

upgpkg: hunspell-it 2.4-2
fix dic file empty lines (FS#22275); move hunspell as optdependence

Modified:
  hunspell-it/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-01-01 23:52:29 UTC (rev 104374)
+++ PKGBUILD	2011-01-02 01:15:04 UTC (rev 104375)
@@ -5,15 +5,23 @@
 pkgver=2.4
 _pkgver=2_4
 _date=2007_09_01
-pkgrel=1
+pkgrel=2
 pkgdesc="Italian dictionary for Hunspell"
 arch=('any')
 url="http://sourceforge.net/projects/linguistico/"
 license=('GPL3')
-depends=('hunspell')
+makedepends=('hunspell')
+optdepends=('hunspell: the spell checking libraries and apps')
 source=("http://downloads.sourceforge.net/linguistico/italiano_${_pkgver}_${_date}.zip")
 md5sums=('e7fbd9e2dfb25ea3288cdb918e1e1260')
 
+build() {
+  cd "${srcdir}"
+
+  # Fix dic file empty lines (FS#22275)
+  sed '/^\/$/d' -i it_IT.dic
+}
+
 package() {
   cd "${srcdir}"
   install -dm755 ${pkgdir}/usr/share/hunspell




More information about the arch-commits mailing list