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

# source: james
TARBALL=wireguard-tools-$PKGVER.tar.xz
MD5SUM=1d98fb1623817721466152365aec8c45
SRC_URL=https://git.zx2c4.com/wireguard-tools/snapshot/$TARBALL
BUNDLE=

SLACKREQ=
SLACKDESC="wireguard-tools: wireguard-tools $PKGVER (WireGuard VPN)
wireguard-tools: 
wireguard-tools: wireguard-tools is the tools to configure WireGuard VPN
wireguard-tools: 
wireguard-tools: https://git.zx2c4.com/wireguard-tools/about/
wireguard-tools: 
wireguard-tools: 
wireguard-tools: 
wireguard-tools: 
wireguard-tools: 
wireguard-tools: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/wireguard-tools* &&
	cd src &&
	make &&
	make install &&

	# include the contrib scripts
	mkdir -p /usr/share/doc/wireguard-tools-$PKGVER &&
	cp -r ../contrib /usr/share/wireguard-tools-$PKGVER &&
	
	pkg_build_slackdesc
}


