[arch-commits] Commit in hunspell/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Andreas Radke
andyrtr at archlinux.org
Sat Nov 17 12:34:56 UTC 2018
Date: Saturday, November 17, 2018 @ 12:34:55
Author: andyrtr
Revision: 340027
archrelease: copy trunk to testing-x86_64
Added:
hunspell/repos/testing-x86_64/
hunspell/repos/testing-x86_64/PKGBUILD
(from rev 340026, hunspell/trunk/PKGBUILD)
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Copied: hunspell/repos/testing-x86_64/PKGBUILD (from rev 340026, hunspell/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2018-11-17 12:34:55 UTC (rev 340027)
@@ -0,0 +1,41 @@
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: Hussam Al-Tayeb <ht990332 at gmail.com>
+
+pkgname=hunspell
+pkgver=1.7.0
+pkgrel=1
+pkgdesc="Spell checker and morphological analyzer library and program"
+arch=('x86_64')
+url="https://hunspell.github.io/"
+license=('GPL' 'LGPL' 'MPL')
+depends=('gcc-libs' 'readline')
+optdepends=('perl: for ispellaff2myspell')
+source=($pkgname-$pkgver.tar.gz::https://github.com/hunspell/hunspell/archive/v${pkgver}.tar.gz)
+sha256sums=('bb27b86eb910a8285407cf3ca33b62643a02798cf2eef468c0a74f6c3ee6bc8a')
+
+prepare() {
+ cd hunspell-$pkgver
+ autoreconf -vfi
+}
+
+build() {
+ cd hunspell-$pkgver
+ ./configure --prefix=/usr --disable-static \
+ --with-ui --with-readline # --with-experimental breaks build in this release
+ make
+}
+
+check() {
+ cd hunspell-$pkgver
+ make check
+}
+
+package() {
+ cd hunspell-$pkgver
+ make DESTDIR="$pkgdir" install
+
+ # add generic hunspell.so for development and projects not using pkgconfig flags - FS#30592
+ pushd $pkgdir/usr/lib
+ ln -s libhunspell-?.?.so libhunspell.so
+ popd
+}
More information about the arch-commits
mailing list