### this file is sourced not run
PKGVER=2023.04 # pull date
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=httpd-sh-$PKGVER.tar.gz
MD5SUM=b17e806459d17671114ff13fa26df070
SRC_URL=https://github.com/cemeyer/httpd.sh/archive/7a09ebf666c3154551f04a6d508cf802682ba4e7.tar.gz
BUNDLE=

SLACKREQ='ctypes_sh'
SLACKDESC="httpd_sh: httpd_sh $PKGVER (HTTP server using bash)
httpd_sh: 
httpd_sh: Httpd.sh is a dumb web server written in Bash. It uses the ctypes.sh 
httpd_sh: plugin to access C socket and file APIs. It uses a single-threaded 
httpd_sh: event loop model. It can serve small files. It does limited 
httpd_sh: error-checking and should not be used in the wild.
httpd_sh: 
httpd_sh: https://github.com/cemeyer/httpd.sh
httpd_sh: 
httpd_sh: 
httpd_sh: 
"

PKG_NOBUILD=yes

### default pkg_download
### default pkg_prepare
### package
pkg_package() {
	mkdir -p opt &&
	mv tmp/httpd* opt/httpd-$PKGVER &&
	chown 0:0 opt/httpd-$PKGVER/*   &&
	pkg_build_slackdesc .
}

### default pkg_build


