diff options
Diffstat (limited to 'libre')
-rw-r--r-- | libre/qemu-static/PKGBUILD | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/libre/qemu-static/PKGBUILD b/libre/qemu-static/PKGBUILD index 79d965939..c1e00a8b9 100644 --- a/libre/qemu-static/PKGBUILD +++ b/libre/qemu-static/PKGBUILD @@ -26,7 +26,7 @@ prepare() { mkdir build-static mkdir -p extra-arch-static/usr/{bin,share/qemu} - cd ${pkgname}-${pkgver} + cd ${pkgbase}-${pkgver} sed -i 's/vte-2\.90/vte-2.91/g' configure } @@ -60,7 +60,7 @@ build() { --disable-guest-agent } -_build() ( +_build() { cd build-$1 # qemu vs. make 4 == bad @@ -76,8 +76,6 @@ _build() ( --libexecdir=/usr/lib/qemu \ --python=/usr/bin/python2 \ --smbd=/usr/bin/smbd \ - --without-gtkabi \ - --without-sdlabi \ --disable-modules \ --disable-jemalloc \ "${@:2}" @@ -99,7 +97,7 @@ _package() { case ${_bin#qemu-} in # tools - img|io|nbd) rm "$_bin" continue ;; + img|io|nbd) rm "$_bin"; continue ;; esac mv "$_bin"{,-static} @@ -107,10 +105,10 @@ _package() { # remove conflicting files rm -vr ../{lib,share} - rm -v {ivshmem-{client,server}} + rm -v ivshmem-{client,server} } -package_qemu-arch-extra-static() { +package_qemu-static() { pkgdesc="QEMU for foreign architectures (static binaries only)" replaces=(qemu-{static-arch-extra,arch-extra-static}) conflicts=(qemu-{static-arch-extra,arch-extra-static}) |