Commit f60c272e authored by Milan P. Stanić's avatar Milan P. Stanić Committed by Leo

testing/rcs: upgrade to 5.10.0

build with -std=c11
change license to SPDX format
modernize APKBUILD
parent 12768dcb
# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Maintainer: Valery Kartel <valery.kartel@gmail.com>
pkgname=rcs
pkgver=5.9.4
pkgver=5.10.0
pkgrel=0
pkgdesc="Revision Control System"
url="https://www.gnu.org/software/rcs"
arch="all"
license="GPL-3.0"
license="GPL-3.0-or-later"
depends="diffutils"
subpackages="$pkgname-doc"
source="https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver"
source="https://ftp.gnu.org/gnu/rcs/rcs-$pkgver.tar.xz"
build() {
cd "$builddir"
./configure \
CFLAGS="-std=c99" \
CFLAGS="-std=c11" \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
|| retrun 1
make || return 1
--prefix=/usr
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
make DESTDIR="$pkgdir" install
}
sha512sums="c501a46b8d2e166ec0b54301d72687d9b38b31d84517fcc8dd560a296e7ad250962a92f019e53b2921af9045755e2e7f2f2acc9542dbe0d19ee110ef36861cd4 rcs-5.9.4.tar.xz"
sha512sums="d42bded1214f27dfcbe912bbabad8479555a02bc57000a62512d63ff0672de1ed23911cd15c9d1aa4b9a53794ac3fd45937fa1cbc0fcb9d54a3ede4d831f76d0 rcs-5.10.0.tar.xz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment