mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-06 07:47:14 +08:00
30 lines
716 B
Bash
30 lines
716 B
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
|
|
pkgname=enchant
|
|
pkgver=1.6.0
|
|
pkgrel=4
|
|
pkgdesc="A wrapper library for generic spell checking"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.abisource.com/enchant/"
|
|
license=('LGPL')
|
|
depends=('aspell' 'dbus-glib' 'hunspell' 'hspell')
|
|
options=('!libtool')
|
|
source=("http://www.abisource.com/downloads/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
|
|
md5sums=('de11011aff801dc61042828041fb59c7')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr \
|
|
--disable-static \
|
|
--disable-ispell \
|
|
--with-myspell-dir=/usr/share/myspell
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|