aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"