Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/qemu/PKGBUILD
blob: a1787cff2005e809612937342cc88eb095184554 (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
# 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
eval "$(
  declare -f package_qemu-common | \
    sed 's@"$pkgdir/usr/share/man/man1/$_name.1.gz"@\0 || true@'
)"