summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Penteker <tek@serverop.de>2013-03-30 00:18:53 +0100
committerThomas Penteker <tek@serverop.de>2013-03-30 00:18:53 +0100
commit2f61c0a74bfc9ad65a687407514966e5110306a9 (patch)
tree7d08c8c058a87322af944e9d50f9189942f9a972
parenta17f42dd9005a86c279c0e963c0ef7ce74d31293 (diff)
downloadcontrib-2f61c0a74bfc9ad65a687407514966e5110306a9.tar.gz
contrib-2f61c0a74bfc9ad65a687407514966e5110306a9.tar.xz
mercurial: include man-pages. Thanks, jue
-rw-r--r--mercurial/.footprint6
-rw-r--r--mercurial/Pkgfile8
2 files changed, 13 insertions, 1 deletions
diff --git a/mercurial/.footprint b/mercurial/.footprint
index a30154802..620bdbae3 100644
--- a/mercurial/.footprint
+++ b/mercurial/.footprint
@@ -538,3 +538,9 @@ drwxr-xr-x root/root usr/lib/python2.7/site-packages/mercurial/templates/static/
-rw-r--r-- root/root usr/lib/python2.7/site-packages/mercurial/windows.pyc
-rw-r--r-- root/root usr/lib/python2.7/site-packages/mercurial/wireproto.py
-rw-r--r-- root/root usr/lib/python2.7/site-packages/mercurial/wireproto.pyc
+drwxr-xr-x root/root usr/man/
+drwxr-xr-x root/root usr/man/man1/
+-rw-r--r-- root/root usr/man/man1/hg.1.gz
+drwxr-xr-x root/root usr/man/man5/
+-rw-r--r-- root/root usr/man/man5/hgignore.5.gz
+-rw-r--r-- root/root usr/man/man5/hgrc.5.gz
diff --git a/mercurial/Pkgfile b/mercurial/Pkgfile
index 7fe938689..d211721d9 100644
--- a/mercurial/Pkgfile
+++ b/mercurial/Pkgfile
@@ -6,11 +6,17 @@
name=mercurial
version=2.5.2
-release=1
+release=2
source=(http://www.selenic.com/$name/release/$name-$version.tar.gz)
build() {
cd $name-$version
+
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
}

Generated by cgit