Commit ff0d8959 authored by Natanael Copa's avatar Natanael Copa

main/aspell: build fix and cleanup

parent 24a916e8
......@@ -2,7 +2,12 @@
# Contributor: Valery Kartel <valery.kartel@gmail.com>
pkgname=aspell
pkgver=0.60.6.1
_pkgmajorver=0.60
case $pkgver in
*.*.*.*) _pkgmajorver=${pkgver%.*.*};;
*.*.*) _pkgmajorver=${pkgver%.*};;
*) _pkgmajorver=$pkgver;;
esac
pkgrel=4
pkgdesc="A spell checker designed to eventually replace Ispell"
url="http://aspell.net/"
......@@ -19,6 +24,7 @@ _builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......@@ -26,9 +32,13 @@ prepare() {
done
}
build() {
build() {
cd "$_builddir"
./configure --prefix=/usr || return 1
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
|| return 1
make || return 1
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment