[arch-commits] Commit in hunspell/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Andreas Radke andyrtr at gemini.archlinux.org
Mon Aug 22 19:03:24 UTC 2022


    Date: Monday, August 22, 2022 @ 19:03:24
  Author: andyrtr
Revision: 454422

archrelease: copy trunk to extra-x86_64

Added:
  hunspell/repos/extra-x86_64/PKGBUILD
    (from rev 454421, hunspell/trunk/PKGBUILD)
Deleted:
  hunspell/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   90 ++++++++++++++++++++++++++-----------------------------------
 1 file changed, 39 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-22 19:03:17 UTC (rev 454421)
+++ PKGBUILD	2022-08-22 19:03:24 UTC (rev 454422)
@@ -1,51 +0,0 @@
-# Maintainer: Andreas Radke <andyrtr at archlinux.org>
-# Contributor: Hussam Al-Tayeb <ht990332 at gmail.com>
-
-pkgname=hunspell
-pkgver=1.7.0
-pkgrel=4
-pkgdesc="Spell checker and morphological analyzer library and program"
-arch=('x86_64')
-url="https://hunspell.github.io/"
-license=('GPL' 'LGPL' 'MPL')
-depends=('gcc-libs' 'readline')
-optdepends=('perl: for ispellaff2myspell')
-source=($pkgname-$pkgver.tar.gz::https://github.com/hunspell/hunspell/archive/v${pkgver}.tar.gz
-	hunspell_buildfix.diff::https://github.com/hunspell/hunspell/commit/2f9e34d13312dbf705f7e1316ca364be13640e6c.patch
-	hunspell_buildfix2.diff::https://patch-diff.githubusercontent.com/raw/hunspell/hunspell/pull/762.patch)
-sha256sums=('bb27b86eb910a8285407cf3ca33b62643a02798cf2eef468c0a74f6c3ee6bc8a'
-            'SKIP'
-            'SKIP')
-
-prepare() {
-  cd hunspell-$pkgver
-
-  # build fix
-  patch -Np1 -i ../hunspell_buildfix.diff
-  patch -Np1 -i ../hunspell_buildfix2.diff
-
-  autoreconf -vfi
-}
-
-build() {
-  cd hunspell-$pkgver
-  ./configure --prefix=/usr --disable-static \
-	--with-ui --with-readline # --with-experimental breaks build in this release
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
-}
-
-check() {
-  cd hunspell-$pkgver
-  make check
-}
-
-package() {
-  cd hunspell-$pkgver
-  make DESTDIR="$pkgdir" install
-  
-  # add generic hunspell.so for development and projects not using pkgconfig flags - FS#30592
-  pushd "$pkgdir"/usr/lib
-  ln -s libhunspell-?.?.so libhunspell.so
-  popd
-}

Copied: hunspell/repos/extra-x86_64/PKGBUILD (from rev 454421, hunspell/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-22 19:03:24 UTC (rev 454422)
@@ -0,0 +1,39 @@
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: Hussam Al-Tayeb <ht990332 at gmail.com>
+
+pkgname=hunspell
+pkgver=1.7.1
+pkgrel=1
+pkgdesc="Spell checker and morphological analyzer library and program"
+arch=('x86_64')
+url="https://github.com/hunspell/mythes"
+license=('GPL' 'LGPL' 'MPL')
+depends=('gcc-libs' 'readline')
+optdepends=('perl: for ispellaff2myspell')
+source=(https://github.com/hunspell/hunspell/releases/download/v${pkgver}/hunspell-${pkgver}.tar.gz)
+sha256sums=('b2d9c5369c2cc7f321cb5983fda2dbf007dce3d9e17519746840a6f0c4bf7444')
+
+build() {
+  cd hunspell-$pkgver
+  ./configure --prefix=/usr \
+    --disable-static \
+    --with-ui \
+    --with-readline
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+check() {
+  cd hunspell-$pkgver
+  make check
+}
+
+package() {
+  cd hunspell-$pkgver
+  make DESTDIR="$pkgdir" install
+  
+  # add generic hunspell.so for development and projects not using pkgconfig flags - FS#30592
+  pushd "$pkgdir"/usr/lib
+  ln -s libhunspell-?.?.so libhunspell.so
+  popd
+}



More information about the arch-commits mailing list