Package Details: mercurial-server 1.3-1

Git Clone URL: https://aur.archlinux.org/mercurial-server.git (read-only, click to copy)
Package Base: mercurial-server
Description: Provides easily administered shared SSH access to Mercurial repositories.
Upstream URL: http://www.lshift.net/mercurial-server.html
Licenses: GPL
Submitter: None
Maintainer: giniu
Last Packager: giniu
Votes: 4
Popularity: 0.000000
First Submitted: 2009-12-28 06:05
Last Updated: 2015-07-07 19:34

Latest Comments

zoidberg_md commented on 2020-07-15 17:01

A compatibility patch against the current AUR git.

https://pastebin.com/pvYWJ8jp

  1. Compatibility patch for Mercurial 4.9 - apparently the last Mercurial with Python2
  2. Better following of Arch packaging guidelines - e.g. the prepare() stage, --optimize=1 and --skip-build
  3. Yet newer source location (bitbucket)

rakin commented on 2013-12-30 10:09

--- PKGBUILD 2012-09-06 11:13:18.000000000 +0200
+++ PKGBUILD.new 2013-12-30 11:04:54.129268138 +0100
@@ -11,11 +11,11 @@
depends=('mercurial')
makedepends=('python2-distribute')
install='mercurial-server.install'
-source=("http://dev.lshift.net/paul/mercurial-server/mercurial-server_$pkgver.tar.gz")
-md5sums=('7cb8e5eb12e7e7a6a9434d7eb67b97d0')
+source=("http://hg.opensource.lshift.net/mercurial-server/archive/release_${pkgver}.tar.gz")
+md5sums=('9ce2cdceaa7903a5fd68ce9476430944')

build() {
- cd "$srcdir"/mercurial-server-$pkgver
+ cd "$srcdir"/mercurial-server-release_$pkgver
sed -i 's/python setup.py/python2 setup.py/' Makefile
find ./src -type f | xargs sed -i 's/env python/env python2/'

@@ -23,7 +23,7 @@
}

package() {
- cd "$srcdir"/mercurial-server-$pkgver
+ cd "$srcdir"/mercurial-server-release_$pkgver

make PREFIX='/usr/share' DESTDIR="$pkgdir/" installetc pythoninstall
}