diff options
author | solsTiCe d'Hiver | 2022-01-27 21:52:33 +0100 |
---|---|---|
committer | solsTiCe d'Hiver | 2022-01-27 21:52:55 +0100 |
commit | 0af063ebf700624f592a52e3f3ec71c3f035b8e1 (patch) | |
tree | 7ff4cbfc9a1857671152e02d03fc7e6f8a6e1459 | |
parent | 06b9fcec5a8c1bb7ab3ede8e34c397a1c288fee3 (diff) | |
download | aur-0af063ebf700624f592a52e3f3ec71c3f035b8e1.tar.gz |
Add optdepends
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 16 | ||||
-rw-r--r-- | virt-v2v.install | 4 |
3 files changed, 18 insertions, 9 deletions
@@ -1,15 +1,20 @@ pkgbase = virt-v2v pkgdesc = Convert a guest image to use with KVM pkgver = 1.44.2 -pkgrel = 1 +pkgrel = 2 url = https://libguestfs.org/virt-v2v.1.html +install = virt-v2v.install arch = x86_64 license = GPL makedepends = ocaml makedepends = ocaml-findlib depends = libguestfs depends = libosinfo +optdepends = mingw-w64-rhsrvany: for Windows based VM +optdepends = virtio-win: for windows based VM source = https://download.libguestfs.org/virt-v2v/1.44-stable/virt-v2v-1.44.2.tar.gz +source = virt-v2v.install sha256sums = c99ecabb93d1e6c81f0070b951e7bf42cee2a65a3ece387e01217f06080447fc +sha256sums = 6235d47396e8e193a80de17825fe337f18ab0bb6ffb4a61f204bea57e5a90f7d pkgname = virt-v2v @@ -6,20 +6,20 @@ # Maintainer: solstiCe d'Hiver <solstice.dhiver@gmail.com> pkgname=virt-v2v pkgver=1.44.2 -pkgrel=1 +pkgrel=2 pkgdesc="Convert a guest image to use with KVM" arch=(x86_64) url="https://libguestfs.org/virt-v2v.1.html" license=('GPL') depends=('libguestfs' 'libosinfo') makedepends=('ocaml' 'ocaml-findlib') -checkdepends=() -optdepends=() -provides=() -conflicts=() -replaces=() -source=("https://download.libguestfs.org/virt-v2v/${pkgver:0:4}-stable/virt-v2v-${pkgver}.tar.gz") -sha256sums=('c99ecabb93d1e6c81f0070b951e7bf42cee2a65a3ece387e01217f06080447fc') +optdepends=('mingw-w64-rhsrvany: for Windows based VM' + 'virtio-win: for windows based VM') +source=("https://download.libguestfs.org/virt-v2v/${pkgver:0:4}-stable/virt-v2v-${pkgver}.tar.gz" "virt-v2v.install") +install=virt-v2v.install + +sha256sums=('c99ecabb93d1e6c81f0070b951e7bf42cee2a65a3ece387e01217f06080447fc' + '6235d47396e8e193a80de17825fe337f18ab0bb6ffb4a61f204bea57e5a90f7d') build() { cd "$pkgname-$pkgver" diff --git a/virt-v2v.install b/virt-v2v.install new file mode 100644 index 000000000000..02b707383652 --- /dev/null +++ b/virt-v2v.install @@ -0,0 +1,4 @@ +post_install() { + echo "virt-v2v expects rhsrvany.exe to be in /usr/share/virt-tools/; if installing the optdepends mingw-w64-rhsrvany, please make a symlink in that directory" + echo "virt-v2v expects virtio-win.iso to be in /usr/share/virto-win/; if installing the optdepends virtio-win, please make a symlink in that directory" +} |