From 329a5e850ebafa783b1a6a0e4fa0862f4bd0c00e Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 13 Jan 2010 10:33:12 +0000 Subject: main/mercurial: upgrade to 1.4.2 --- main/mercurial/APKBUILD | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'main') diff --git a/main/mercurial/APKBUILD b/main/mercurial/APKBUILD index 0201df622..2023455f5 100644 --- a/main/mercurial/APKBUILD +++ b/main/mercurial/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: Natanael Copa pkgname=mercurial -pkgver=1.4.1 +pkgver=1.4.2 pkgrel=0 pkgdesc="A scalable distributed SCM tool" url="http://www.selenic.com/mercurial" @@ -10,7 +10,12 @@ makedepends="python-dev" subpackages="$pkgname-doc" source="http://www.selenic.com/$pkgname/release/$pkgname-$pkgver.tar.gz" -build() { +build() { + cd "$srcdir"/$pkgname-$pkgver + python setup.py build +} + +package() { cd "$srcdir"/$pkgname-$pkgver python setup.py install --root="$pkgdir" || return 1 install -d "$pkgdir"/usr/share/man/man1 "$pkgdir"/usr/share/man/man5 @@ -24,4 +29,4 @@ build() { install -Dm644 contrib/vim/HGAnnotate.vim \ "${vimpath}/syntax/HGAnnotate.vim" || return 1 } -md5sums="eacffecad59ec145e61a1edf332b3f1f mercurial-1.4.1.tar.gz" +md5sums="cf23b0887f0437c8601d5b89ae4663a6 mercurial-1.4.2.tar.gz" -- cgit v1.2.3