summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 10 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 93daf80ae13..05467177058 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=('enchant-pure')
_pkgname=enchant
-pkgver="2.1.2"
+pkgver="2.2.0"
pkgrel=1
pkgdesc="A wrapper library for pure and generic spell checking for all languages, supporting Aspell and Myspell/Hunspell backend engines"
@@ -16,7 +16,7 @@ depends=('aspell>=0.50.0' 'glib2' 'hunspell')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("https://github.com/AbiWord/enchant/releases/download/v${pkgver}/${_pkgname}-${pkgver}.tar.gz")
-sha512sums=('6cb2eeccc617c005998b16ebc33a84a05cec116b26fd679fc1416110821a85a16605c8564672e1168ac6c865cfcca6680005d1219aa615ca1c2393bd523ae0c4')
+sha512sums=('b1e1a579cbb23b5222ff30572022c29df0ed868208e39791dc80584880b5471e68fbafb71c231d99754443fe08633b07d2d79a910be6764771d9afb2fadf9ce1')
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
@@ -28,5 +28,13 @@ build() {
package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
+ # installing some symlinks for compatibility with enchant-1
+ ln -s "enchant-2" "${pkgdir}/usr/bin/enchant"
+ ln -s "enchant-lsmod-2" "${pkgdir}/usr/bin/enchant-lsmod"
+ ln -s "enchant-2" "${pkgdir}/usr/include/enchant"
+ ln -s "enchant-2" "${pkgdir}/usr/lib/enchant"
+ ln -s "libenchant-2.so.2.2.0" "${pkgdir}/usr/lib/libenchant.so.2.2.0"
+ ln -s "libenchant-2.so.2.2.0" "${pkgdir}/usr/lib/libenchant.so.2"
+ ln -s "libenchant-2.so.2.2.0" "${pkgdir}/usr/lib/libenchant.so"
}