# Compiling Time: 0.04 SBU # Maintainer: Miklos Vajna pkgname=mercurial pkgver=3.8.3 pkgrel=1 pkgdesc="A fast, lightweight source control management system." url="http://mercurial.selenic.com/" Finclude python # neccessary because of the .egg file depends=("python>=$_F_python_ver") makedepends=('docutils') groups=('devel-extra') archs=('i686' 'x86_64') up2date="Flasttar $url/release/" source=($url/release/$pkgname-$pkgver.tar.gz) sha1sums=('cccade8ca2a3f9c876301c11959a1303c0c9b00e') subpkgs=('mercurial-hgk') subdescs=('Graphical repository and history browser based on gitk.') subdepends=('tk') subrodepends=('mercurial') subgroups=('devel-extra') subarchs=('i686 x86_64') build() { Fsed '--prefix="$(PREFIX)"' '--prefix="$(PREFIX)" --root="$(DESTDIR)"' Makefile make all || return 1 Fmakeinstall PREFIX=/usr Fexerel contrib/hgk /usr/bin/hgk Fsplit mercurial-hgk usr/bin/hgk $_F_python_libdir/hgext/hgk* } # optimization OK