1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 19:25:25 +03:00
aports/testing/cvs-fast-export/APKBUILD
2022-07-26 04:17:40 +02:00

49 lines
1.5 KiB
Text

# Contributor: TBK <alpine@jjtc.eu>
# Maintainer: TBK <alpine@jjtc.eu>
pkgname=cvs-fast-export
pkgver=1.59
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
01-compile-flags.patch
disable-test-sporadic.patch
"
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 (Tools)"
depends="$pkgname git python3 rsync"
cd "$pkgdir"/usr/bin
mkdir -p "$subpkgdir"/usr/bin
mv cvsconvert cvssync "$subpkgdir"/usr/bin/
}
sha512sums="
96c251b61b001d44e47c65b1e6ca9d0dd90382c74887c8332e3d0869c9a3bb07529cdfeee8b786e2a11f97a760faaf196feab6e5dfdda0d4e0bdd1d8cf00ad7a cvs-fast-export-1.59.tar.gz
35f738ad85132c54f6f4f521a0a0e21af2124ec71a10c94bf2b2861ca115b693e77df16b0bebb6220e555c3b582d06b2f29d9890e192dbb2d591a9042d2f1f60 01-compile-flags.patch
1212a68f12119a5365e9afcb4de3787c62841bb7291f69634d213b4c51d2375bbf09288962d84c557a34d13dc222adf595dc3342bee002674d964af0ab9e912f disable-test-sporadic.patch
"