aboutsummaryrefslogtreecommitdiffstats
path: root/testing/cloud-utils/APKBUILD
blob: 1491c6b683aaa4347aaa25ee98b45d348fa6d4aa (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
# Contributor: Vladimir Avinkin <mouzfun@gmail.com>
# Maintainer: Vladimir Avinkin <mouzfun@gmail.com>
pkgname=cloud-utils
pkgver=0.30
pkgrel=0
pkgdesc="Useful set of utilities for interacting with a cloud"
url="https://launchpad.net/cloud-utils/"
arch="noarch"
license="GPL-3.0-or-later"
depends="bash python3 sfdisk sgdisk util-linux qemu-img mtools cdrkit coreutils"
subpackages="$pkgname-doc"
source="https://launchpad.net/$pkgname/trunk/0.3/+download/$pkgname-$pkgver.tar.gz"

build() {
	make
}

check() {
	# the other tests require root permissions
	PATH=$PATH:$builddir/bin TMPDIR="$srcdir" ./test/test-growpart-fsimage
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="62274b80ada530e5cac32b34e9f9cd4994bf81b336da039f10035beeae6a01f11aaa24fd2ba436001844fca7542cce2527711c8ae87a5b53f4cab505dcb07f28  cloud-utils-0.30.tar.gz"