mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 21:57:17 +08:00
36 lines
1.0 KiB
Bash
36 lines
1.0 KiB
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=aspell
|
|
pkgver=0.60.6
|
|
_pkgmajorver=0.60
|
|
pkgrel=4
|
|
pkgdesc="A spell checker designed to eventually replace Ispell"
|
|
url="http://aspell.net/"
|
|
arch=('i686' 'x86_64')
|
|
license=('LGPL')
|
|
depends=('gcc-libs' 'ncurses>=5.6-7')
|
|
optdepends=('perl: to import old dictionaries')
|
|
options=(!libtool)
|
|
install=aspell.install
|
|
source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz)
|
|
md5sums=('bc80f0198773d5c05086522be67334eb')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
./configure --prefix=/usr || return 1
|
|
make || return 1
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
ln -s ${pkgname}-${_pkgmajorver} ${pkgdir}/usr/lib/${pkgname} || return 1
|
|
|
|
# cleanup info files
|
|
rm ${pkgdir}/usr/share/info/dir || return 1
|
|
gzip ${pkgdir}/usr/share/info/* || return 1
|
|
}
|