summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kernels/xen/PKGBUILD17
1 files changed, 11 insertions, 6 deletions
diff --git a/kernels/xen/PKGBUILD b/kernels/xen/PKGBUILD
index e1796106a..4f4a1218b 100644
--- a/kernels/xen/PKGBUILD
+++ b/kernels/xen/PKGBUILD
@@ -1,17 +1,22 @@
-#Mantainer M0Rf30
-#Contributor WaxyMouthfeel
+# Mantainer M0Rf30
+# Contributor WaxyMouthfeel
# Contributor (Parabola): André Silva <andre.paulista@adinet.com.uy>
pkgname=xen
pkgver=4.1.2
-pkgrel=2
+pkgrel=3
pkgdesc="Xen 4 (hypervisor and tools)"
arch=(i686 x86_64)
url="http://xen.org/"
license="GPL"
-depends=('xz-utils' 'bzip2' 'iproute' 'bridge-utils' 'python2' 'sdl' 'zlib' 'e2fsprogs' 'pkgconfig' 'gnutls' 'lzo2' 'glibc')
-[ "$CARCH" == "x86_64" ] && depends=(${depends} 'lib32-glibc')
+
+if [[ $CARCH == "x86_64" ]]; then
+ depends=('xz-utils' 'bzip2' 'iproute' 'net-tools' 'bridge-utils' 'python2' 'sdl' 'zlib' 'e2fsprogs' 'bin86' 'pkgconfig' 'gnutls' 'lzo2' 'lib32-glibc')
+else
+ depends=('xz-utils' 'bzip2' 'iproute' 'net-tools' 'bridge-utils' 'python2' 'sdl' 'zlib' 'e2fsprogs' 'bin86' 'pkgconfig' 'gnutls' 'lzo2' 'glibc')
+fi
+
optdepends=('xen-docs: Xen Official Documentation')
-makedepends=('dev86' 'bin86' 'ocaml-findlib' 'iasl')
+makedepends=('dev86' 'ocaml-findlib' 'iasl')
conflicts=('xen4' 'xen3' 'xen-hv-tools' 'libxen4')
provides=('xen')
backup=('etc/xen/xend-config.sxp' 'etc/xen/xend-pci-permissive.sxp' 'etc/xen/xend-pci-quirks.sxp')