void-packages/srcpkgs/rinse/template
Đoàn Trần Công Danh 71ab2a740c rinse: remove noarch
2020-11-29 09:46:07 +07:00

28 lines
939 B
Bash

# Template file for 'rinse'
pkgname=rinse
version=3.5
revision=2
build_style=gnu-makefile
make_check_target=test
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="Orphaned <orphan@voidlinux.org>"
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=ebe2384f2aa4565c5f29882b177f7afd4c7cdbca9de9525618c6040e63a76d23
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
}