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

# source: james
TARBALL=rlwrap-$PKGVER.tar.gz
MD5SUM=b993e83d3a292464de70719b32f83a34
SRC_URL=https://github.com/hanslub42/rlwrap/releases/download/v$PKGVER/$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: https://github.com/hanslub42/rlwrap
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
}
