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

Andreas Radke andyrtr at archlinux.org
Sun May 24 12:42:34 UTC 2020


    Date: Sunday, May 24, 2020 @ 12:42:32
  Author: andyrtr
Revision: 387488

upgpkg: enchant 2.2.8-2: use proper release tarball to allow easy configure; add nuspell support

Modified:
  enchant/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-24 12:22:49 UTC (rev 387487)
+++ PKGBUILD	2020-05-24 12:42:32 UTC (rev 387488)
@@ -4,27 +4,25 @@
 
 pkgname=enchant
 pkgver=2.2.8
-pkgrel=1
+pkgrel=2
 pkgdesc="A wrapper library for generic spell checking"
 arch=('x86_64')
 url="https://abiword.github.io/enchant/"
 license=('LGPL')
-depends=('aspell' 'hunspell' 'hspell' 'libvoikko' 'glib2')
-makedepends=('git')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/AbiWord/enchant/archive/v$pkgver.tar.gz")
-sha512sums=('8dbb584c54c46defec35b2ba54befbf22302a60e579d60df543dc68bd545b6ad7dec3050fc4027e26844fbaf56c28071e1e6573a93e65738591133ac6d3ff6dc')
+depends=('aspell' 'hunspell' 'hspell' 'nuspell' 'libvoikko' 'glib2')
+provides=(libenchant-2.so enchant_voikko.so enchant_nuspell.so enchant_hunspell.so enchant_hspell.so enchant_aspell.so)
+source=("https://github.com/AbiWord/enchant/releases/download/v$pkgver/enchant-$pkgver.tar.gz")
+sha512sums=('4bfa771af0deab3d0ca5523abab1fdb14cb596747dba7cf887e8cd812601015f52502cbd3df68247f102bba259cb281414e9ccde83b8bdd3c8cc83c2fcbc9090')
 
 prepare() {
   cd $pkgname-$pkgver
-  ./bootstrap
+  autoreconf -vfi
 }
 
 build() {
   cd $pkgname-$pkgver
   ./configure --prefix=/usr \
-    --disable-static \
-    --disable-ispell \
-    --with-myspell-dir=/usr/share/myspell
+    --disable-static
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 }



More information about the arch-commits mailing list