aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rinse/APKBUILD
blob: 8b5e4fc0c4bcc10aee8fd645be675d09bc80b6c5 (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
42
43
44
45
46
47
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=rinse
pkgver=2.0.1
pkgrel=0
pkgdesc="A 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="1221942846f4caa6e621cfc85f759841  rinse-2.0.1.tar.gz
6761f834b3f50bded544021ccb90c700  rinse-posix-cpio-use.patch
6a6092323c1973832f5c050d37265d99  rinse-device-nodes.patch"
sha256sums="74b1149cb6f12c1bd51e371e5decf4820489535afa9b93900780817cbae7f96b  rinse-2.0.1.tar.gz
f869904261add72b2e6a50f910fc79fae44b68df617c8d0d1e1e02d99c77e165  rinse-posix-cpio-use.patch
dfb972611d74889902d1f25edf6bd172aaa8ef62c352a5e966c2892c568171e8  rinse-device-nodes.patch"
sha512sums="4d6284dfd5bdaac1c2578222203c5dd1bfcd325b756583238c45a064da2345ed75615461464845d721026d3ee1b2bab55f138c9fd5d911f7b41a4e7af5ab9cd8  rinse-2.0.1.tar.gz
a8ff20b382fa05bf921d1a99fcf7f1e147a63ff7b2c1d04c312ac9d1148d8acb07c56a016176f081a6c2c6797d31a5bd3607b1d891517888931c42bde9a58465  rinse-posix-cpio-use.patch
9bca1bbbe11453d80f06d330af5695a874240a274ea671f30fd3383f2a88e5e0c73a167aa4ac10f3fde6f9df0cda5678ef436de3ed111a16b008128aafb2a196  rinse-device-nodes.patch"