29 lines
991 B
Bash
29 lines
991 B
Bash
# Template file for 'rinse'
|
|
pkgname=rinse
|
|
version=4.0.4
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
make_check_target=test
|
|
hostmakedepends="dpkg"
|
|
makedepends="perl"
|
|
depends="perl-LWP perl-LWP-Protocol-https perl-HTML-Parser rpm wget"
|
|
checkdepends="perl-LWP perl-Test-Pod rpm wget"
|
|
short_desc="Bootstrap a rpm based distribution like debootstrap"
|
|
maintainer="Zach Dykstra <dykstra.zachary@gmail.com>"
|
|
license="Artistic-1.0-Perl, GPL-1.0-or-later"
|
|
homepage="https://salsa.debian.org/debian/rinse"
|
|
changelog="https://salsa.debian.org/debian/rinse/raw/master/debian/changelog"
|
|
distfiles="https://salsa.debian.org/debian/rinse/-/archive/${version}/rinse-${version}.tar.gz"
|
|
checksum=fc320d9a258e0b90986054641e86fcbe29b0710ae8be2cfb89875a98af4a64b2
|
|
|
|
|
|
conf_files="/etc/rinse/rinse.conf"
|
|
|
|
pre_install() {
|
|
sed -i "s|pod2man.*$|pod2man --release=${version} --official --section=8 ./bin/rinse ./bin/rinse.8|g" Makefile
|
|
}
|
|
|
|
do_install() {
|
|
make ${makejobs} PREFIX="$DESTDIR" sbindir="${DESTDIR}/bin" install
|
|
}
|