aboutsummaryrefslogtreecommitdiffstats
path: root/main/aspell/APKBUILD
diff options
context:
space:
mode:
authorValery Kartel <valery.kartel@gmail.com>2016-12-03 17:15:21 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2016-12-05 21:43:50 +0000
commit8653c421485586dbeee2bc3e4f70587e8c047177 (patch)
tree4fa83706a35cd6f70637f265921a7470299b77a0 /main/aspell/APKBUILD
parent1f7c7a28af0bf5fc84ef36fde8aa26d404bd5aad (diff)
downloadaports-8653c421485586dbeee2bc3e4f70587e8c047177.tar.bz2
aports-8653c421485586dbeee2bc3e4f70587e8c047177.tar.xz
main/aspell: fixes in APKBUILD
Diffstat (limited to 'main/aspell/APKBUILD')
-rw-r--r--main/aspell/APKBUILD27
1 files changed, 9 insertions, 18 deletions
diff --git a/main/aspell/APKBUILD b/main/aspell/APKBUILD
index a7f3c411f4..65d1daa4c2 100644
--- a/main/aspell/APKBUILD
+++ b/main/aspell/APKBUILD
@@ -2,7 +2,7 @@
# Contributor: Valery Kartel <valery.kartel@gmail.com>
pkgname=aspell
pkgver=0.60.6.1
-pkgrel=10
+pkgrel=11
pkgdesc="A spell checker designed to eventually replace Ispell"
url="http://aspell.net/"
arch="all"
@@ -10,24 +10,19 @@ license="LGPL2+"
subpackages="$pkgname-compat::noarch $pkgname-utils $pkgname-dev $pkgname-doc
$pkgname-libs"
depends=
+depends_dev="$pkgname-utils"
makedepends="ncurses-dev perl"
install=
source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
-
-_builddir="$srcdir/$pkgname-$pkgver"
+builddir="$srcdir"/$pkgname-$pkgver
prepare() {
- cd "$_builddir"
+ default_prepare || return 1
update_config_sub || return 1
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
}
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -41,13 +36,13 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
compat() {
pkgdesc="aspell compatibility scripts for ispell and unix spell"
- depends="aspell"
+ depends="$pkgname"
install -d "$subpkgdir"/usr/bin
cd "$pkgdir"/usr/share/$pkgname
mv spell ispell "$subpkgdir"/usr/bin/
@@ -55,20 +50,16 @@ compat() {
utils() {
pkgdesc="aspell misc utils"
- depends="aspell perl"
+ depends="$pkgname perl"
install -d "$subpkgdir"/usr/bin
cd "$pkgdir"/usr/bin
mv pre* aspell-import run-with-aspell word-list-compress "$subpkgdir"/usr/bin/
}
-dev() {
- default_dev
- depends="aspell-utils"
-}
-
libs() {
default_libs
mv "$pkgdir"/usr/share "$subpkgdir"/usr
+ rm -fr "$pkgdir"/usr/lib
}
md5sums="e66a9c9af6a60dc46134fdacf6ce97d7 aspell-0.60.6.1.tar.gz"