[arch-commits] Commit in enchant/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Aug 28 18:55:30 UTC 2020


    Date: Friday, August 28, 2020 @ 18:55:29
  Author: felixonmars
Revision: 394849

archrelease: copy trunk to testing-x86_64

Added:
  enchant/repos/testing-x86_64/
  enchant/repos/testing-x86_64/PKGBUILD
    (from rev 394848, enchant/trunk/PKGBUILD)

----------+
 PKGBUILD |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

Copied: enchant/repos/testing-x86_64/PKGBUILD (from rev 394848, enchant/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2020-08-28 18:55:29 UTC (rev 394849)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: dorphell <dorphell at archlinux.org>
+
+pkgname=enchant
+pkgver=2.2.9
+pkgrel=1
+pkgdesc="A wrapper library for generic spell checking"
+arch=('x86_64')
+url="https://abiword.github.io/enchant/"
+license=('LGPL')
+depends=('glib2')
+makedepends=('boost' 'aspell' 'hunspell' 'hspell' 'nuspell' 'libvoikko')
+checkdepends=('unittestpp')
+optdepends=('aspell: for aspell based spell checking support'
+           'hunspell: for hunspell based spell checking support'
+           'libvoikko: for libvoikko based spell checking support'
+           'hspell: for hspell based spell checking support'
+           'nuspell: for nuspell based spell checking support')
+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=('cfed111cd4a0b01cc2001ae668548cd7dcb0772282d86540db2b1a400edc9f300fcf39b3a65b11e04ebcb727ba5c37e2bedfbfaa84ae512660bd5099c0eb2498')
+
+prepare() {
+  cd $pkgname-$pkgver
+  autoreconf -vfi
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr \
+    --disable-static \
+    --enable-relocatable
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list