aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/mercurial/APKBUILD19
1 files changed, 15 insertions, 4 deletions
diff --git a/main/mercurial/APKBUILD b/main/mercurial/APKBUILD
index 8eb2d27b9b..acb5e40983 100644
--- a/main/mercurial/APKBUILD
+++ b/main/mercurial/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mercurial
-pkgver=3.8.3
+pkgver=3.9
pkgrel=0
pkgdesc="A scalable distributed SCM tool"
url="https://www.mercurial-scm.org/"
@@ -11,6 +11,7 @@ depends=""
makedepends="python-dev"
subpackages="
$pkgname-doc
+ $pkgname-lang
$pkgname-vim:vim
$pkgname-zsh-completion:zshcomp
$pkgname-bash-completion:bashcomp"
@@ -33,6 +34,16 @@ package() {
done
}
+lang() {
+ pkgdesc="Languages for package $pkgname"
+ install_if="$pkgname=$pkgver-r$pkgrel lang"
+ arch="noarch"
+
+ mkdir -p "$subpkgdir"/usr/lib/python2.7/site-packages/$pkgname
+ mv "$pkgdir"/usr/lib/python2.7/site-packages/$pkgname/locale/ \
+ "$subpkgdir"/usr/lib/python2.7/site-packages/$pkgname/
+}
+
vim() {
depends=""
pkgdesc="Vim syntax for $pkgname"
@@ -65,6 +76,6 @@ bashcomp() {
"$subpkgdir"/usr/share/bash-completion/completions/${pkgname} || return 1
}
-md5sums="97aced7018614eeccc9621a3dea35fda mercurial-3.8.3.tar.gz"
-sha256sums="f84556cdf9a331984261549d9d08143ab9da33d7c03f0aa323b0ee52d0782a4c mercurial-3.8.3.tar.gz"
-sha512sums="d6106fe942406fa3fe85039fa67ca47659b934cf2a027dfe24bfaff2f26130051ea1ee6064b30648769a12c4d6c7de2764463fb29a8194f50d79bcd63a4c5246 mercurial-3.8.3.tar.gz"
+md5sums="e2b355da744e94747daae3a5339d28a0 mercurial-3.9.tar.gz"
+sha256sums="834f25dcff44994198fb8a7ba161a6e24204dbd63c8e6270577e06e6cedbdabc mercurial-3.9.tar.gz"
+sha512sums="148d5f4c1c8c78b654b03d898f8e9624697caf3f75ff8d56496f8ba5b0e28c487f6800ea2e7e26bf2ac5f01e9bdf92e7d3b4941c88521372af090a3587a0227b mercurial-3.9.tar.gz"