8ddd61d984
[ci skip]
28 lines
955 B
Bash
28 lines
955 B
Bash
# Template file for 'rinse'
|
|
pkgname=rinse
|
|
version=3.3
|
|
revision=1
|
|
archs=noarch
|
|
build_style=gnu-makefile
|
|
hostmakedepends="dpkg"
|
|
makedepends="perl"
|
|
depends="perl-LWP rpm wget"
|
|
checkdepends="perl-LWP perl-Test-Pod rpm wget"
|
|
short_desc="Bootstrap a rpm based distribution like debootstrap"
|
|
maintainer="maxice8 <thinkabit.ukim@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=290a90a80bd8358fcaf6849a590eb14f1bb05ce81b365bd95e4d41a93be82e19
|
|
make_check_target=test
|
|
|
|
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
|
|
}
|