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

# source: james
TARBALL=mawk-1.3.4-20171017.tar.gz
MD5SUM=6de7560406cd9836335a7297bb910e08
SRC_URL=http://distro.ibiblio.org/fatdog/source/800/$TARBALL
BUNDLE=

SLACKREQ='' # 
SLACKDESC="mawk: mawk $PKGVER (AWK interpreter)  
mawk:  
mawk: mawk is an awk interpreter. It is smaller yet much faster that GNU AWK 
mawk: (gawk). Mawk can mean Mike's awk (Mike Brennan was the original 
mawk: author). It can also mean 'Much-faster AWK' because of its speed.
mawk: 
mawk: http://invisible-island.net/mawk/ 
mawk: 
mawk: 
mawk: 
mawk: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	pkg_build_autoconf &&
	pkg_build_slackdesc &&
	
	# copy examples and docs
	mkdir -p /usr/share/mawk &&
	cp -a examples CHANGES /usr/share/mawk &&
	chown -R 0:0 /usr/share/mawk &&
	install -m644 icons/mawk48.svg /usr/share/pixmaps
}
