blob: b71bf34e5665b83a4372e9247ab383ac1f5f383c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Maintainer: dustball
# Rinse RPM Distro Bootstrapper
pkgname=rinse
pkgver=3.3
pkgrel=1
pkgdesc="Bootstrap a rpm based distribution like debootstrap"
arch=('any')
url="https://salsa.debian.org/debian/rinse"
license=('GPL')
groups=()
depends=('glibc' 'perl' 'perl-html-parser' 'perl-uri' 'perl-libwww' 'wget' 'rpm-org' 'cpio')
makedepends=('make')
optdepends=()
provides=()
conflicts=()
replaces=()
backup=('etc/rinse/rinse.conf')
options=()
install=
source=("https://salsa.debian.org/debian/rinse/-/archive/3.3/rinse-${pkgver}.tar.gz"
"sbin.patch")
noextract=()
md5sums=('aad4821a80959981769ea03302c65187'
'4cf97714bbd4785cf39f2f729b5cc6fa')
prepare() {
patch -p0 -i $srcdir/sbin.patch
sed -i 's|pod2man.*$|pod2man --release=$pkgver --official --section=8 ./bin/rinse ./bin/rinse.8|' $srcdir/$pkgname-$pkgver/Makefile
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make PREFIX="$pkgdir/" sbindir="$pkgdir/bin" install
}
|