wine: provide binfmt file
this matches the one debian provides
This commit is contained in:
parent
786aa6d552
commit
1d02087723
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'wine'
|
||||
pkgname=wine
|
||||
version=9.11
|
||||
revision=1
|
||||
revision=2
|
||||
_pkgver=${version/r/-r}
|
||||
create_wrksrc=yes
|
||||
build_wrksrc=wine-${_pkgver}
|
||||
|
@ -141,7 +141,6 @@ wine-devel_package() {
|
|||
|
||||
wine-common_package() {
|
||||
short_desc+=" - common files"
|
||||
binfmts="/usr/bin/wine --magic MZ"
|
||||
pkg_install() {
|
||||
vmove usr/share
|
||||
vmove etc/fonts
|
||||
|
@ -149,6 +148,12 @@ wine-common_package() {
|
|||
do
|
||||
vmove usr/bin/${file}
|
||||
done
|
||||
vmkdir usr/share/binfmts
|
||||
cat <<- EOF >> "${PKGDESTDIR}"/usr/share/binfmts/wine
|
||||
package wine
|
||||
interpreter /usr/bin/wine
|
||||
magic MZ
|
||||
EOF
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue