mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 14:43:52 +02:00
wine: provide binfmt file
this matches the one debian provides
This commit is contained in:
parent
786aa6d552
commit
1d02087723
1 changed files with 7 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'wine'
|
# Template file for 'wine'
|
||||||
pkgname=wine
|
pkgname=wine
|
||||||
version=9.11
|
version=9.11
|
||||||
revision=1
|
revision=2
|
||||||
_pkgver=${version/r/-r}
|
_pkgver=${version/r/-r}
|
||||||
create_wrksrc=yes
|
create_wrksrc=yes
|
||||||
build_wrksrc=wine-${_pkgver}
|
build_wrksrc=wine-${_pkgver}
|
||||||
|
@ -141,7 +141,6 @@ wine-devel_package() {
|
||||||
|
|
||||||
wine-common_package() {
|
wine-common_package() {
|
||||||
short_desc+=" - common files"
|
short_desc+=" - common files"
|
||||||
binfmts="/usr/bin/wine --magic MZ"
|
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/share
|
vmove usr/share
|
||||||
vmove etc/fonts
|
vmove etc/fonts
|
||||||
|
@ -149,6 +148,12 @@ wine-common_package() {
|
||||||
do
|
do
|
||||||
vmove usr/bin/${file}
|
vmove usr/bin/${file}
|
||||||
done
|
done
|
||||||
|
vmkdir usr/share/binfmts
|
||||||
|
cat <<- EOF >> "${PKGDESTDIR}"/usr/share/binfmts/wine
|
||||||
|
package wine
|
||||||
|
interpreter /usr/bin/wine
|
||||||
|
magic MZ
|
||||||
|
EOF
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue