contrib/mercurial/Pkgfile
Thomas Penteker 228b15131a mercurial: 3.0.1 -> 3.1.2
(cherry picked from commit 2332da147b)

Conflicts:
	mercurial/.footprint
	mercurial/.md5sum
	mercurial/Pkgfile
2014-10-03 14:38:56 +02:00

23 lines
568 B
Plaintext

# Description: Mercurial the distributed VCS.
# URL: http://mercurial.selenic.com/
# Maintainer: Thomas Penteker, tek at serverop dot de
# Packager: James Mills, prologic at shortcircuit dot net dot au
# Depends on: python
name=mercurial
version=3.1.2
release=1
source=(http://www.selenic.com/$name/release/$name-$version.tar.gz)
build() {
cd $name-$version
rm -r i18n
/usr/bin/python setup.py install --root=$PKG
install -d $PKG/usr/man/man{1,5}
install -m 0644 doc/*.1 $PKG/usr/man/man1
install -m 0644 doc/*.5 $PKG/usr/man/man5
}