🔒 Repository is read-only – file editing is disabled.

recipes/gui/mercurial/PAGBUILD.yaml main

37 linii Raw ← Powrót
12345678910111213141516171819202122232425262728293031323334353637
pkgname: mercurial
pkgver: '7.2.4'
pkgrel: '1'
pkgdesc: A scalable distributed SCM tool
url: 'http://mercurial.selenic.com'
arch: x86_64
depends:
- openssh
- python
makedepends:
- gnupg
- subversion
- python-setuptools-scm
- python-docutils
- python-build
source:
- 'https://www.mercurial-scm.org/release/mercurial-${pkgver}.tar.gz'
- mercurial.profile
sha256sums:
- 85839e0f39e6cb893a88932aa36ef661759f3c5c5de4551ad26bd9df53cb71a2
- SKIP
hooks:
  post-install: "name=mercurial\nversion=7.2.4\nrelease=1\nif [ ! -f  etc/mercurial/hgrc ]; then\n\tmkdir -p etc/mercurial\n\
    \tcat > etc/mercurial/hgrc << \"EOF\"\n[web]\ncacerts = /etc/ssl/ca-bundle.crt\nEOF\nfi\n"
build: |
  cd ${pkgname}-${pkgver}
  sed -i "15,23 s/^/#/" setup.py
  cd ${pkgname}-${pkgver}/

  export PYTHON=python3

  make doc
  make DESTDIR=${PKGDIR} PREFIX=/usr install-bin
  make DESTDIR=${PKGDIR} PREFIX=/usr install-doc
  unset PYTHON
package: |
  true