aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rinse/APKBUILD
blob: d35d27d2f96c0aa5e4187e674c0e8394ed0eb776 (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
38
39
40
41
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=rinse
pkgver=2.0
pkgrel=3
pkgdesc="RPM chroot bootstrapping tool"
url="http://www.steve.org.uk/Software/rinse/"
arch="noarch"
license="Artistic"
depends="rpm perl wget perl-libwww"
depends_dev=""
makedepends="$depends_dev gzip coreutils"
install=""
subpackages="$pkgname-doc"
source="http://www.steve.org.uk/Software/rinse/rinse-$pkgver.tar.gz
	rinse-posix-cpio-use.patch
	rinse-device-nodes.patch"

_builddir="$srcdir"/rinse-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
}

package() {
	cd "$_builddir"
	make PREFIX="$pkgdir" install || return 1
}

md5sums="ccae96895b413bb1040a86d17bec4b06  rinse-2.0.tar.gz
6761f834b3f50bded544021ccb90c700  rinse-posix-cpio-use.patch
6a6092323c1973832f5c050d37265d99  rinse-device-nodes.patch"