2008-03-12 22:55:05 +01:00
|
|
|
# Description: Mercurial the distributed VCS.
|
2008-03-25 21:22:19 +01:00
|
|
|
# URL: http://www.selenic.com/mercurial/wiki/
|
2008-03-12 22:55:05 +01:00
|
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
2008-03-25 21:22:19 +01:00
|
|
|
# Packager: James Mills, prologic at shortcircuit dot net dot au
|
2014-05-09 23:07:14 +02:00
|
|
|
# Depends on: python
|
2006-10-29 12:38:47 +01:00
|
|
|
|
|
|
|
name=mercurial
|
2014-05-13 09:51:52 +02:00
|
|
|
version=3.0
|
2013-04-12 10:16:16 +02:00
|
|
|
release=1
|
2007-09-29 12:32:09 +10:00
|
|
|
source=(http://www.selenic.com/$name/release/$name-$version.tar.gz)
|
2006-10-29 12:38:47 +01:00
|
|
|
|
|
|
|
build() {
|
2008-03-25 21:22:19 +01:00
|
|
|
cd $name-$version
|
2013-03-30 00:18:53 +01:00
|
|
|
|
2014-05-09 23:07:14 +02:00
|
|
|
/usr/bin/python setup.py install --root=$PKG
|
2013-03-30 00:18:53 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2010-12-08 20:33:51 +01:00
|
|
|
rm -r $PKG/usr/lib/python*/site-packages/mercurial/locale
|
2006-10-29 12:38:47 +01:00
|
|
|
}
|