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

# source: james
TARBALL=rlwrap-$PKGVER.tar.gz
MD5SUM=1e04a9dcc0672b02806cc63a0338176a
SRC_URL=http://utopia.knoware.nl/~hlub/rlwrap/$TARBALL
BUNDLE=

SLACKREQ='libreadline' # 
SLACKDESC="rlwrap: rlwrap $PKGVER (Command history tool)  
rlwrap:  
rlwrap: rlwrap is a wrapper that uses the GNU readline library to allow the 
rlwrap: editing of keyboard input for any other command. Input history is kept 
rlwrap: between invocations, separately for each command; history completion 
rlwrap: and search work as in bash and completion word lists can be specified 
rlwrap: on the command line.  
rlwrap: 
rlwrap: 
rlwrap: 
rlwrap: http://utopia.knoware.nl/~hlub/rlwrap/#rlwrap
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	pkg_build_autoconf &&
	pkg_build_slackdesc &&
	
	# multilib
	mv -v /usr/bin/rlwrap{,-64} &&
	ln -sfv multiarch_wrapper /usr/bin/rlwrap
}
