[arch-commits] Commit in mercurial/repos (6 files)
Anatol Pomozov
anatolik at archlinux.org
Mon Feb 15 18:46:17 UTC 2016
Date: Monday, February 15, 2016 @ 19:46:17
Author: anatolik
Revision: 259332
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
mercurial/repos/testing-i686/
mercurial/repos/testing-i686/PKGBUILD
(from rev 259331, mercurial/trunk/PKGBUILD)
mercurial/repos/testing-i686/mercurial.profile
(from rev 259331, mercurial/trunk/mercurial.profile)
mercurial/repos/testing-x86_64/
mercurial/repos/testing-x86_64/PKGBUILD
(from rev 259331, mercurial/trunk/PKGBUILD)
mercurial/repos/testing-x86_64/mercurial.profile
(from rev 259331, mercurial/trunk/mercurial.profile)
----------------------------------+
testing-i686/PKGBUILD | 51 +++++++++++++++++++++++++++++++++++++
testing-i686/mercurial.profile | 1
testing-x86_64/PKGBUILD | 51 +++++++++++++++++++++++++++++++++++++
testing-x86_64/mercurial.profile | 1
4 files changed, 104 insertions(+)
Copied: mercurial/repos/testing-i686/PKGBUILD (from rev 259331, mercurial/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2016-02-15 18:46:17 UTC (rev 259332)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
+
+pkgname=mercurial
+pkgver=3.7.1
+pkgrel=1
+pkgdesc="A scalable distributed SCM tool"
+arch=('i686' 'x86_64')
+url="http://mercurial.selenic.com/"
+license=('GPL')
+depends=('python2')
+optdepends=('tk: for the hgk GUI')
+backup=('etc/mercurial/hgrc')
+source=("http://mercurial.selenic.com/release/${pkgname}-${pkgver}.tar.gz"
+ 'mercurial.profile')
+md5sums=('4e922fcc9454d2665f20c3b9b4741add'
+ '43e1d36564d4c7fbe9a091d3ea370a44')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i -e 's#env python#env python2#' mercurial/lsprof.py
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ python2 setup.py install --root="${pkgdir}/" --optimize=1
+
+ 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"
+ install -d "${pkgdir}/usr/share/emacs/site-lisp"
+ install -m644 contrib/{mq.el,mercurial.el} "${pkgdir}/usr/share/emacs/site-lisp"
+
+ vimpath="${pkgdir}/usr/share/vim/vimfiles"
+ install -Dm644 contrib/vim/HGAnnotate.vim "${vimpath}/syntax/HGAnnotate.vim"
+
+ # set some variables
+ install -m755 -d ${pkgdir}/etc/profile.d
+ install -m755 ${srcdir}/mercurial.profile "${pkgdir}/etc/profile.d/mercurial.sh"
+
+ # install configuration file
+ install -m755 -d ${pkgdir}/etc/mercurial
+ # install -m644 contrib/sample.hgrc "${pkgdir}/etc/mercurial/hgrc"
+
+ # FS#38825 - Add certs config to package
+ echo -e "\n[web]\ncacerts = /etc/ssl/certs/ca-certificates.crt\n" >> "${pkgdir}/etc/mercurial/hgrc"
+}
Copied: mercurial/repos/testing-i686/mercurial.profile (from rev 259331, mercurial/trunk/mercurial.profile)
===================================================================
--- testing-i686/mercurial.profile (rev 0)
+++ testing-i686/mercurial.profile 2016-02-15 18:46:17 UTC (rev 259332)
@@ -0,0 +1 @@
+export HG=/usr/bin/hg
Copied: mercurial/repos/testing-x86_64/PKGBUILD (from rev 259331, mercurial/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2016-02-15 18:46:17 UTC (rev 259332)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
+
+pkgname=mercurial
+pkgver=3.7.1
+pkgrel=1
+pkgdesc="A scalable distributed SCM tool"
+arch=('i686' 'x86_64')
+url="http://mercurial.selenic.com/"
+license=('GPL')
+depends=('python2')
+optdepends=('tk: for the hgk GUI')
+backup=('etc/mercurial/hgrc')
+source=("http://mercurial.selenic.com/release/${pkgname}-${pkgver}.tar.gz"
+ 'mercurial.profile')
+md5sums=('4e922fcc9454d2665f20c3b9b4741add'
+ '43e1d36564d4c7fbe9a091d3ea370a44')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i -e 's#env python#env python2#' mercurial/lsprof.py
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ python2 setup.py install --root="${pkgdir}/" --optimize=1
+
+ 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"
+ install -d "${pkgdir}/usr/share/emacs/site-lisp"
+ install -m644 contrib/{mq.el,mercurial.el} "${pkgdir}/usr/share/emacs/site-lisp"
+
+ vimpath="${pkgdir}/usr/share/vim/vimfiles"
+ install -Dm644 contrib/vim/HGAnnotate.vim "${vimpath}/syntax/HGAnnotate.vim"
+
+ # set some variables
+ install -m755 -d ${pkgdir}/etc/profile.d
+ install -m755 ${srcdir}/mercurial.profile "${pkgdir}/etc/profile.d/mercurial.sh"
+
+ # install configuration file
+ install -m755 -d ${pkgdir}/etc/mercurial
+ # install -m644 contrib/sample.hgrc "${pkgdir}/etc/mercurial/hgrc"
+
+ # FS#38825 - Add certs config to package
+ echo -e "\n[web]\ncacerts = /etc/ssl/certs/ca-certificates.crt\n" >> "${pkgdir}/etc/mercurial/hgrc"
+}
Copied: mercurial/repos/testing-x86_64/mercurial.profile (from rev 259331, mercurial/trunk/mercurial.profile)
===================================================================
--- testing-x86_64/mercurial.profile (rev 0)
+++ testing-x86_64/mercurial.profile 2016-02-15 18:46:17 UTC (rev 259332)
@@ -0,0 +1 @@
+export HG=/usr/bin/hg
More information about the arch-commits
mailing list