#Maintainer: Ejis #Mandatory category=extra/ap pkgname=mercurial pkgver=1.2.1 pkgrel=1 zenver=62 arch=i486 source=("http://www.selenic.com/mercurial/release/$pkgname-$pkgver.tar.gz") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/ejis/$category/$pkgname/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname - Source management system" "Mercurial is a cross-platform, distributed source management tool for" "software developers. It is written in Python, with a binary diff" "implementation written in C. Its major features include high-" "performance; serverless, fully distributed collaborative development;" "robust handling of both plain text and binary files; advanced" "branching and merging capabilities; and full source code available" "under the terms of the LGPL." ) build() { cd $startdir/src/$pkgname-$pkgver python setup.py build install --root=$startdir/pkg sed -i "s:/usr/local:/usr:g" ./doc/Makefile sed -i "s:/share/man:/man:g" ./doc/Makefile make DESTDIR=$startdir/pkg install-doc mkdir -p $startdir/pkg/usr/doc/$pkgname-$pkgver cp ./CONTRIBUTORS $startdir/pkg/usr/doc/$pkgname-$pkgver/ } #Optional docs=('authors' 'copying' 'changelog' 'install' 'news' 'readme') #options=('noextract' 'norequiredbuilder') url="http://www.selenic.com/mercurial/" #extradepends=('dep1' 'dep2' 'dep3') #lessdepends=('dep4' 'dep5' 'dep6') #dotnew=('etc/thing' 'etc/foo' 'etc/bar') #CFLAGS="-03" #CXXFLAGS="-03" #doinst() { #}