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

# source: post BLFS 7.8 2016-01-06
TARBALL=mercurial-$PKGVER.tar.gz
MD5SUM=25b6065487842a7851ba8cfcaa704b1f
SRC_URL=http://mercurial.selenic.com/release/$TARBALL
BUNDLE=

SLACKREQ='python'
SLACKDESC="mercurial: mercurial $PKGVER (Mercurial SCM)  
mercurial:  
mercurial: Mercurial is a distributed source control management tool similar 
mercurial: to Git and Bazaar. Mercurial is written in Python and is used by 
mercurial: projects such as Mozilla and Vim.  
mercurial: 
mercurial: 
mercurial: 
mercurial: 
mercurial: 
mercurial:
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/mercurial*
	make build &&
	make PREFIX=/usr install-bin &&

	install -v -d -m755 /etc/mercurial &&
cat > /etc/mercurial/hgrc << "EOF" &&
[web]
cacerts = /etc/ssl/ca-bundle.crt
EOF
	pkg_build_slackdesc
}


