APKBUILD 2.05 KB
Newer Older
Ariadne Conill's avatar
Ariadne Conill committed
1 2 3
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=rinse
4
pkgver=2.0.1
5
pkgrel=1
6
pkgdesc="A RPM chroot bootstrapping tool"
Ariadne Conill's avatar
Ariadne Conill committed
7 8 9
url="http://www.steve.org.uk/Software/rinse/"
arch="noarch"
license="Artistic"
10
depends="rpm perl wget perl-libwww"
Ariadne Conill's avatar
Ariadne Conill committed
11 12 13 14
depends_dev=""
makedepends="$depends_dev gzip coreutils"
install=""
subpackages="$pkgname-doc"
15
source="http://www.steve.org.uk/Software/rinse/rinse-$pkgver.tar.gz
16
	rinse-posix-cpio-use.patch
17 18
	rinse-device-nodes.patch
	rinse-set-rpm-platform.patch"
Ariadne Conill's avatar
Ariadne Conill committed
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39

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

40
md5sums="1221942846f4caa6e621cfc85f759841  rinse-2.0.1.tar.gz
41
6761f834b3f50bded544021ccb90c700  rinse-posix-cpio-use.patch
42 43
6a6092323c1973832f5c050d37265d99  rinse-device-nodes.patch
e292f3192df193924f86ef1f20bee745  rinse-set-rpm-platform.patch"
44 45
sha256sums="74b1149cb6f12c1bd51e371e5decf4820489535afa9b93900780817cbae7f96b  rinse-2.0.1.tar.gz
f869904261add72b2e6a50f910fc79fae44b68df617c8d0d1e1e02d99c77e165  rinse-posix-cpio-use.patch
46 47
dfb972611d74889902d1f25edf6bd172aaa8ef62c352a5e966c2892c568171e8  rinse-device-nodes.patch
e6d789e0fc67658eac0b1c11ae32e5407aaf2eb09fa479b5e42f94a28526f8df  rinse-set-rpm-platform.patch"
48 49
sha512sums="4d6284dfd5bdaac1c2578222203c5dd1bfcd325b756583238c45a064da2345ed75615461464845d721026d3ee1b2bab55f138c9fd5d911f7b41a4e7af5ab9cd8  rinse-2.0.1.tar.gz
a8ff20b382fa05bf921d1a99fcf7f1e147a63ff7b2c1d04c312ac9d1148d8acb07c56a016176f081a6c2c6797d31a5bd3607b1d891517888931c42bde9a58465  rinse-posix-cpio-use.patch
50 51
9bca1bbbe11453d80f06d330af5695a874240a274ea671f30fd3383f2a88e5e0c73a167aa4ac10f3fde6f9df0cda5678ef436de3ed111a16b008128aafb2a196  rinse-device-nodes.patch
4e50dafbdd39d1f057a459173e0eac355c0ed592e9d7741a479610915b65ae2e2872ede776fbaca332a8aec20ef94c70ca3b77639670827647634fe276d8731a  rinse-set-rpm-platform.patch"