Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/qemu/PKGBUILD
blob: 6245ad4d2ae4130827f8f50438abd3a9722da7c6 (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
# ceph doesn't run on 32-xit currently (see FS32#21)

makedepends=(${makedepends[@]/ceph})

pkgname=($(
  printf '%s\n' "${pkgname[@]}" | \
    sed '/^qemu-block-rbd/d'
))

eval "$(
  declare -f _package | \
    sed '
      s@rm qemu/block-{iscsi,rbd,gluster}.so@rm qemu/block-{iscsi,gluster}.so@
    '
)"

# edk2-armvirt is not available currently
eval "$(
  declare -f package_qemu-system-aarch64 | \
    sed '
      /depends/ a \
        depends=(${depends[@]//edk2-armvirt/})
    '
)"

# qemu: /startdir/PKGBUILD: line 436: cd: /build/qemu/pkg/qemu-common/usr/share/man/man1: No such file or directory
# We'll live with invalid symlinks for now
eval "$(
  declare -f package_qemu-common | \
    sed 's@"$pkgdir/usr/share/man/man1/$_name.1.gz"@\0 || true@' | \
    sed 's@cd "$pkgdir/usr/share/man/man1"@\0 || true@'
)"