summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMarcell Meszaros2023-11-11 10:39:11 +0100
committerMarcell Meszaros2023-11-11 10:39:11 +0100
commitf24814244389db5b1bf7693447396717a988dcf3 (patch)
treea2e5a60e86f3381bdc6aeec710b1b3d5c60cc145 /PKGBUILD
parent37316db0fbe25d50281328349a11ecd7e3ea7f64 (diff)
downloadaur-f24814244389db5b1bf7693447396717a988dcf3.tar.gz
turn this into a transitional metapackage
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD30
1 files changed, 8 insertions, 22 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c52991b0aac7..614ed8cf4844 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,32 +1,18 @@
-# Maintainer: Behnam Momeni <sbmomeni [at the] gmail [dot] com>
+# Contributor: Behnam Momeni <sbmomeni [at the] gmail [dot] com>
pkgname=enchant-hspell
-_pkgname=enchant
-pkgver=2.2.15
+pkgver=2.6.2
pkgrel=1
-pkgdesc="An enchant provider plugin which adds support for Hspell backend"
-url="https://github.com/AbiWord/enchant"
+pkgdesc="[Meta-PKG] Delete this; use enchant and hspell packages from Arch repository"
+url="https://archlinux.org/packages/?q=enchant"
-arch=('x86_64')
+arch=('any')
license=('LGPL')
-depends=("enchant-pure" "hspell")
-options=('!libtool')
-
-source=("https://github.com/AbiWord/enchant/releases/download/v${pkgver}/${_pkgname}-${pkgver}.tar.gz")
-sha512sums=('e29b3a85d993af28044a86dd23a3ca74c7d50b4218e542c380053a3eaf70c3ea2406feb3361ba8e793bac586c252330bb20fb56c65f3a0a54f63f103cc0abb35')
-
-build() {
- cd "${srcdir}/${_pkgname}-${pkgver}"
- ./configure --prefix=/usr --enable-static=no --with-hspell=yes --with-aspell=no --with-hunspell=no --with-voikko=no --with-zemberek=no --with-applespell=no
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
- make
-}
-
package() {
- cd "${srcdir}/${_pkgname}-${pkgver}"
- install -D -s -m 755 providers/.libs/enchant_hspell.so "${pkgdir}/usr/lib/enchant-2/libenchant_hspell.so"
+ depends=('enchant' 'hspell')
+ conflicts=('enchant-pure')
+ install="${pkgname}.install"
}
-