summaryrefslogtreecommitdiffstats
path: root/abs/extra/enchant/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-04-12 20:12:51 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-04-12 20:12:51 (GMT)
commitf1d3fe2f8fdf106fefcd48b4961371843df0f65d (patch)
treeb762cdd31815e9508b72552dda713fe98bc927e0 /abs/extra/enchant/PKGBUILD
parentd8668bd9ff95980667299f3c3279fdff0aaa00fc (diff)
downloadlinhes_pkgbuild-f1d3fe2f8fdf106fefcd48b4961371843df0f65d.zip
linhes_pkgbuild-f1d3fe2f8fdf106fefcd48b4961371843df0f65d.tar.gz
linhes_pkgbuild-f1d3fe2f8fdf106fefcd48b4961371843df0f65d.tar.bz2
enchant: update to 2.2.3
Diffstat (limited to 'abs/extra/enchant/PKGBUILD')
-rw-r--r--abs/extra/enchant/PKGBUILD27
1 files changed, 17 insertions, 10 deletions
diff --git a/abs/extra/enchant/PKGBUILD b/abs/extra/enchant/PKGBUILD
index 837363a..1013c9c 100644
--- a/abs/extra/enchant/PKGBUILD
+++ b/abs/extra/enchant/PKGBUILD
@@ -4,26 +4,33 @@
# Contributor: dorphell <dorphell@archlinux.org>
pkgname=enchant
-pkgver=1.6.0
-pkgrel=5
+pkgver=2.2.3
+pkgrel=1
pkgdesc="A wrapper library for generic spell checking"
-arch=('i686' 'x86_64')
-url="http://www.abisource.com/enchant/"
+arch=('x86_64')
+url="https://abiword.github.io/enchant/"
license=('LGPL')
-depends=('aspell' 'dbus-glib' 'hunspell' 'hspell')
-source=("http://www.abisource.com/downloads/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-md5sums=('de11011aff801dc61042828041fb59c7')
+depends=('aspell' 'hunspell' 'hspell' 'libvoikko' 'glib2')
+makedepends=('git')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/AbiWord/enchant/archive/v$pkgver.tar.gz")
+sha512sums=('a80bb41e5012eb16fd8c266f8a4c34f73e1ae90092377fb28859d2435269deeb6f673e6c1cbf9716a95a7103121a9e67fb88499b4affd83bfe513d7c149eb89c')
+
+prepare() {
+ cd $pkgname-$pkgver
+ ./bootstrap
+}
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ 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 "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
}