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

# source: james
TARBALL=mawk-1.3.4-20230322.tgz
MD5SUM=a587ada8d70fbf9d75884742d1d6bc7e
SRC_URL=https://www.invisible-island.net/archives/mawk/$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 &&
	mkdir -p /usr/share/pixmaps &&
	install -m644 icons/mawk48.svg /usr/share/pixmaps
}
