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

Felix Yan felixonmars at archlinux.org
Mon Jul 1 03:18:57 UTC 2019


    Date: Monday, July 1, 2019 @ 03:18:57
  Author: felixonmars
Revision: 357190

archrelease: copy trunk to testing-x86_64

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

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

Copied: enchant/repos/testing-x86_64/PKGBUILD (from rev 357189, enchant/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2019-07-01 03:18:57 UTC (rev 357190)
@@ -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.4
+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=('71e9948a3e9a68d993b9617041d1d7b47591919ab1b13bee6e617586b536e8bed7eb4d923182e986fc96ee7f8e2e844d4ffdbd5f3070b5e1c3094f4351117ec0')
+
+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