### this file is sourced not run
PKGVER=0.60.6.1
PKGBUILD=1
PKGARCH=i686

# source: BLFS 7.5
TARBALL=aspell-$PKGVER.tar.gz
MD5SUM=e66a9c9af6a60dc46134fdacf6ce97d7
SRC_URL=http://ftp.gnu.org/gnu/aspell/$TARBALL
BUNDLE=

SLACKREQ=
SLACKDESC="aspell32: aspell32 $PKGVER (Spell checker library)  
aspell32:  
aspell32: The Aspell package contains an interactive spell checking program and 
aspell32: the Aspell libraries. Aspell can either be used as a library or as an 
aspell32: independent spell checker.  
aspell32: 
aspell32: This contains 32-bit version of the library.
aspell32: 
aspell32: 
aspell32: 
aspell32:
"

### default pkg_download
### default pkg_prepare
### package - only collect the libraries
pkg_package() {
	rm -rf bin sbin usr/bin usr/sbin usr/include usr/share &&
	mkdir -p usr/bin &&
	mv tmp/*-32 usr/bin
}

### build
pkg_build() {
	pkg_build_autoconf && pkg_build_slackdesc &&
	ln -sfvn aspell-0.60 /usr/$LIBDIR/aspell &&
	#install -v -m755 -d /usr/share/doc/aspell-$PKGVER/aspell{,-dev}.html &&
	#install -v -m644 manual/aspell.html/* \
	#	/usr/share/doc/aspell-$PKGVER/aspell.html &&
	#install -v -m644 manual/aspell-dev.html/* \
	#	/usr/share/doc/aspell-$PKGVER/aspell-dev.html &&
	#install -v -m 755 scripts/ispell /usr/bin/ &&
	#install -v -m 755 scripts/spell /usr/bin/ &&
	
	# multilib
	mv /usr/bin/pspell-config /tmp/pspell-config-32
}


