2023-08-22 05:32:15 +00:00

46 lines
1.2 KiB
Plaintext

# Contributor: TBK <alpine@jjtc.eu>
# Maintainer: TBK <alpine@jjtc.eu>
pkgname=cvs-fast-export
pkgver=1.61
pkgrel=0
pkgdesc="Export RCS or CVS history as a fast-import stream"
url="http://www.catb.org/esr/cvs-fast-export/"
arch="all"
license="GPL-2.0-or-later"
depends="cvs rcs"
makedepends="asciidoc bison flex libxslt"
checkdepends="python3"
subpackages="$pkgname-doc $pkgname-tools::noarch"
source="https://gitlab.com/esr/cvs-fast-export/-/archive/$pkgver/cvs-fast-export-$pkgver.tar.gz"
options="!check" # take 50 years
build() {
# "make all" will run the commands below + html.
# html can not run in parallel because the ".adoc.html"
# rules reuse the "docbook-xsl.css" file name.
make cvs-fast-export man
}
check() {
# v1.55 - More then one job and the tests
# are executed in the wrong order!
make -j 1 check
}
package() {
make DESTDIR="$pkgdir" prefix=/usr install
}
tools() {
pkgdesc="$pkgdesc (extra tools)"
depends="$pkgname=$pkgver-r$pkgrel git python3 rsync"
amove \
usr/bin/cvsconvert \
usr/bin/cvssync
}
sha512sums="
82f56dbbc8eecff629761eb2c2838bdbf1ee6e81505353b65cc761cea98f4726aa703e20407c6686837bbedc998bdf20c42c38ff7317d7844da73715320b93b0 cvs-fast-export-1.61.tar.gz
"