python-texttable: update to 1.3.1
[void-packages.git] / srcpkgs / rinse / template
blob61edd615997f517378be975c1af56d945bdd5733
1 # Template file for 'rinse'
2 pkgname=rinse
3 version=3.3
4 revision=1
5 noarch=yes
6 build_style=gnu-makefile
7 hostmakedepends="dpkg"
8 makedepends="perl"
9 depends="perl-LWP rpm wget"
10 checkdepends="perl-LWP perl-Test-Pod rpm wget"
11 short_desc="Bootstrap a rpm based distribution like debootstrap"
12 maintainer="maxice8 <thinkabit.ukim@gmail.com>"
13 license="Artistic-1.0-Perl, GPL-1.0-or-later"
14 homepage="https://salsa.debian.org/debian/rinse"
15 #changelog="https://salsa.debian.org/debian/rinse/raw/master/debian/changelog"
16 distfiles="https://salsa.debian.org/debian/rinse/-/archive/${version}/rinse-${version}.tar.gz"
17 checksum=290a90a80bd8358fcaf6849a590eb14f1bb05ce81b365bd95e4d41a93be82e19
18 make_check_target=test
20 conf_files="/etc/rinse/rinse.conf"
22 pre_install() {
23           sed -i "s|pod2man.*$|pod2man --release=${version} --official --section=8 ./bin/rinse ./bin/rinse.8|g" Makefile
26 do_install() {
27         make ${makejobs} PREFIX="$DESTDIR" sbindir="${DESTDIR}/bin" install