### this file is sourced not run
PKGVER=0.60.8
PKGBUILD=1
PKGARCH=x86_64

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

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

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/aspell* &&
		
	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{,-64} &&
	ln -sfv multiarch_wrapper /usr/bin/pspell-config
}


