contrib/mercurial/Pkgfile
2014-05-13 10:09:40 +02:00

23 lines
622 B
Plaintext

# Description: Mercurial the distributed VCS.
# URL: http://www.selenic.com/mercurial/wiki/
# 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.0
release=1
source=(http://www.selenic.com/$name/release/$name-$version.tar.gz)
build() {
cd $name-$version
/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
rm -r $PKG/usr/lib/python*/site-packages/mercurial/locale
}