aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-13 10:33:12 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-13 10:33:12 +0000
commit329a5e850ebafa783b1a6a0e4fa0862f4bd0c00e (patch)
tree065829f48828fbbcb3260f3a130f9191ca9203b7
parentdb5c66c903728a1c577a3641e692e0ee9e1418b8 (diff)
downloadaports-329a5e850ebafa783b1a6a0e4fa0862f4bd0c00e.tar.gz
aports-329a5e850ebafa783b1a6a0e4fa0862f4bd0c00e.tar.bz2
aports-329a5e850ebafa783b1a6a0e4fa0862f4bd0c00e.tar.xz
main/mercurial: upgrade to 1.4.2
-rw-r--r--main/mercurial/APKBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/main/mercurial/APKBUILD b/main/mercurial/APKBUILD
index 0201df6223..2023455f5f 100644
--- a/main/mercurial/APKBUILD
+++ b/main/mercurial/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
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"