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

Felix Yan felixonmars at archlinux.org
Sun Mar 8 11:02:33 UTC 2020


    Date: Sunday, March 8, 2020 @ 11:02:33
  Author: felixonmars
Revision: 377178

archrelease: copy trunk to testing-x86_64

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

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

Copied: enchant/repos/testing-x86_64/PKGBUILD (from rev 377177, enchant/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2020-03-08 11:02:33 UTC (rev 377178)
@@ -0,0 +1,35 @@
+# 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.8
+pkgrel=1
+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')
+
+prepare() {
+  cd $pkgname-$pkgver
+  ./bootstrap
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr \
+    --disable-static \
+    --disable-ispell \
+    --with-myspell-dir=/usr/share/myspell
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list