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

Felix Yan felixonmars at archlinux.org
Mon Jan 15 17:12:39 UTC 2018


    Date: Monday, January 15, 2018 @ 17:12:38
  Author: felixonmars
Revision: 314807

archrelease: copy trunk to staging-x86_64

Added:
  enchant/repos/staging-x86_64/
  enchant/repos/staging-x86_64/PKGBUILD
    (from rev 314806, enchant/trunk/PKGBUILD)

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

Copied: enchant/repos/staging-x86_64/PKGBUILD (from rev 314806, enchant/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2018-01-15 17:12:38 UTC (rev 314807)
@@ -0,0 +1,36 @@
+# $Id$
+# 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.1
+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=('f5fc611cabada32cd57e9638e0e0dd0f5c8198cf82dc122185d1a426793f9f0c85fc4a2e5c512720787238864d7a83320fcdaa10db268d42f6ea18fb3540ba48')
+
+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