* update mercurial to 4.9.1
This commit is contained in:
parent
aadd1aea5d
commit
0fb1d9f18a
@ -4,7 +4,7 @@
|
||||
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
|
||||
|
||||
pkgname=mercurial
|
||||
pkgver=4.8.2
|
||||
pkgver=4.9.1
|
||||
pkgrel=1
|
||||
pkgdesc='A scalable distributed SCM tool'
|
||||
arch=(x86_64 powerpc64le)
|
||||
@ -15,14 +15,15 @@ optdepends=('tk: for the hgk GUI')
|
||||
backup=(etc/mercurial/hgrc)
|
||||
validpgpkeys=(2BCCE14F5C6725AA2EA8AEB7B9C9DC824AA5BDD5
|
||||
3A8155163D0E20A530FCB78647A67FFAA346AACE)
|
||||
source=(https://www.mercurial-scm.org/release/${pkgname}-${pkgver}.tar.gz
|
||||
source=(https://www.mercurial-scm.org/release/${pkgname}-${pkgver}.tar.gz{,.asc}
|
||||
mercurial.profile)
|
||||
sha256sums=('6c202cb9cf05e63b86477ebf84d6475eb10b4022ac2cd3a7481fb36d9c45fdb2'
|
||||
sha256sums=('1bdd21bb87d1e05fb5cd395d488d0e0cc2f2f90ce0fd248e31a03595da5ccb47'
|
||||
'SKIP'
|
||||
'87427151713e689cd87dc50d50c048e0e58285815e4eb61962b50583532cbde5')
|
||||
|
||||
prepare() {
|
||||
cd $pkgname-$pkgver
|
||||
sed -i -e 's#env python#env python2#' mercurial/lsprof.py
|
||||
sed -i -e 's#env python#env python2#' mercurial/lsprof.py contrib/hg-ssh
|
||||
}
|
||||
|
||||
build() {
|
||||
@ -37,9 +38,13 @@ package() {
|
||||
install -d "$pkgdir/usr/share/man/"{man1,man5}
|
||||
install -m644 doc/hg.1 "$pkgdir/usr/share/man/man1"
|
||||
install -m644 doc/{hgrc.5,hgignore.5} "$pkgdir/usr/share/man/man5"
|
||||
install -m755 contrib/hgk "$pkgdir/usr/bin"
|
||||
install -m644 -D contrib/zsh_completion "$pkgdir/usr/share/zsh/site-functions/_hg"
|
||||
install -m644 -D contrib/bash_completion "$pkgdir/usr/share/bash-completion/completions/hg"
|
||||
|
||||
make -C contrib/chg DESTDIR="$pkgdir" PREFIX=/usr install
|
||||
install -m755 contrib/hg-ssh "$pkgdir/usr/bin"
|
||||
install -m755 contrib/hgk "$pkgdir/usr/bin"
|
||||
|
||||
install -d "$pkgdir/usr/share/emacs/site-lisp"
|
||||
install -m644 contrib/{mq.el,mercurial.el} "$pkgdir/usr/share/emacs/site-lisp"
|
||||
|
||||
@ -56,7 +61,4 @@ package() {
|
||||
[web]
|
||||
cacerts = /etc/ssl/certs/ca-certificates.crt
|
||||
EOF
|
||||
|
||||
cd contrib/chg
|
||||
make DESTDIR="$pkgdir" PREFIX=/usr install
|
||||
}
|
||||
|
1
mercurial/mercurial.profile
Normal file
1
mercurial/mercurial.profile
Normal file
@ -0,0 +1 @@
|
||||
export HG=/usr/bin/hg
|
Loading…
x
Reference in New Issue
Block a user