summaryrefslogtreecommitdiffstats
path: root/testing/rinse/APKBUILD
blob: 66555420df35459909b0da2da70e9330352ca120 (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
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=rinse
pkgver=2.0
pkgrel=0
pkgdesc="RPM chroot bootstrapping tool"
url="http://www.steve.org.uk/Software/rinse/"
arch="noarch"
license="Artistic"
depends="rpm perl wget"
depends_dev=""
makedepends="$depends_dev gzip coreutils"
install=""
subpackages="$pkgname-doc"
source="http://www.steve.org.uk/Software/rinse/rinse-$pkgver.tar.gz"

_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"