### this file is sourced not run
PKGVER=4.10
PKGBUILD=1
PKGARCH=noarch

# source: CLFS 3.0.0 updated to latest
TARBALL=man-pages-$PKGVER.tar.xz
MD5SUM=c76a2844ea70e374fdff9c2e61bbe85b
SRC_URL=https://www.kernel.org/pub/linux/docs/man-pages/$TARBALL
#SRC_URL=http://distro.ibiblio.org/fatdog/source/710/clfs-packages-3.0.0.tar
#BUNDLE=clfs-packages-3.0.0.tar

SLACKREQ=
SLACKDESC="man-pages: man-pages $PKGVER (Unix manual pages)  
man-pages:  
man-pages: Core Linux/Unix documentation for C programming language functions, 
man-pages: important device files, and significant configuration files.  
man-pages: 
man-pages: 
man-pages: 
man-pages: 
man-pages: 
man-pages: 
man-pages:
"

### override download for LFS sources
# $1-src-dir $2-tarball $3-download URL
#pkg_download() {
#	echo downloading $BUNDLE for $TARBALL
#	wget -P $1 $SRC_URL
#	tar -xf $1/$BUNDLE --strip-components=1 -C $1 
#	rm $1/$BUNDLE
#}

### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/man-pages*
	make install
	pkg_build_slackdesc
}
