Skip to content

Commit

Permalink
wine: provide binfmt file
Browse files Browse the repository at this point in the history
this matches the one debian provides
  • Loading branch information
classabbyamp committed Jun 17, 2024
1 parent 786aa6d commit 1d02087
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions srcpkgs/wine/template
Original file line number Diff line number Diff line change
@@ -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}
Expand Down Expand Up @@ -141,14 +141,19 @@ wine-devel_package() {

wine-common_package() {
short_desc+=" - common files"
binfmts="/usr/bin/wine --magic MZ"
pkg_install() {
vmove usr/share
vmove etc/fonts
for file in wine wineserver msiexec regedit regsvr32 wineboot winecfg winepath winemine winefile winedbg wineconsole notepad msidb
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
}
}

Expand Down

0 comments on commit 1d02087

Please sign in to comment.