[arch-commits] Commit in hunspell/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Andreas Radke
andyrtr at gemini.archlinux.org
Sat May 21 21:12:50 UTC 2022
Date: Saturday, May 21, 2022 @ 21:12:50
Author: andyrtr
Revision: 446410
archrelease: copy trunk to extra-x86_64
Added:
hunspell/repos/extra-x86_64/PKGBUILD
(from rev 446409, hunspell/trunk/PKGBUILD)
Deleted:
hunspell/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 92 +++++++++++++++++++++++++++++++++----------------------------
1 file changed, 51 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-21 21:12:44 UTC (rev 446409)
+++ PKGBUILD 2022-05-21 21:12:50 UTC (rev 446410)
@@ -1,41 +0,0 @@
-# Maintainer: Andreas Radke <andyrtr at archlinux.org>
-# Contributor: Hussam Al-Tayeb <ht990332 at gmail.com>
-
-pkgname=hunspell
-pkgver=1.7.0
-pkgrel=3
-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)
-sha256sums=('bb27b86eb910a8285407cf3ca33b62643a02798cf2eef468c0a74f6c3ee6bc8a')
-
-prepare() {
- cd hunspell-$pkgver
- autoreconf -vfi
-}
-
-build() {
- cd hunspell-$pkgver
- ./configure --prefix=/usr --disable-static \
- --with-ui --with-readline # --with-experimental breaks build in this release
- 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 446409, hunspell/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-21 21:12:50 UTC (rev 446410)
@@ -0,0 +1,51 @@
+# 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
+}
More information about the arch-commits
mailing list