diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-09-19 23:10:58 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-09-19 23:11:52 -0300 |
commit | 4402122c4ce54bbaa5843eaab8c74febd84f513f (patch) | |
tree | 20314f19a47c7f94be7b105817a3a2d310a33f00 /libre/qemu-static/PKGBUILD | |
parent | b87d15ba55808a92d8afab971045394bfdf6b4aa (diff) |
qemu-static: minor fix
Diffstat (limited to 'libre/qemu-static/PKGBUILD')
-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}) |