23 lines
570 B
Plaintext
23 lines
570 B
Plaintext
# Description: Mercurial the distributed VCS.
|
|
# URL: https://www.mercurial-scm.org
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: python3-setuptools
|
|
|
|
name=mercurial
|
|
version=6.8.1
|
|
release=1
|
|
source=(https://www.mercurial-scm.org/release/mercurial-$version.tar.gz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
rm -r i18n
|
|
|
|
/usr/bin/python3 setup.py build
|
|
/usr/bin/python3 setup.py install --root=$PKG \
|
|
--skip-build
|
|
|
|
install -d $PKG/usr/share/man/man{1,5}
|
|
install -m 0644 doc/*.1 $PKG/usr/share/man/man1
|
|
install -m 0644 doc/*.5 $PKG/usr/share/man/man5
|
|
}
|