[arch-commits] Commit in wine/trunk (PKGBUILD wine-binfmt.conf wine.install)

Sven-Hendrik Haase svenstaro at archlinux.org
Thu Dec 14 04:36:45 UTC 2017


    Date: Thursday, December 14, 2017 @ 04:36:44
  Author: svenstaro
Revision: 274318

upgpkg: wine 3.0rc1-2

Add wine binfmt

Added:
  wine/trunk/wine-binfmt.conf
  wine/trunk/wine.install
Modified:
  wine/trunk/PKGBUILD

------------------+
 PKGBUILD         |   10 +++++++---
 wine-binfmt.conf |    2 ++
 wine.install     |    7 +++++++
 3 files changed, 16 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-13 22:57:24 UTC (rev 274317)
+++ PKGBUILD	2017-12-14 04:36:44 UTC (rev 274318)
@@ -6,17 +6,19 @@
 
 pkgname=wine
 pkgver=3.0rc1
-pkgrel=1
+pkgrel=2
 
 _pkgbasever=${pkgver/rc/-rc}
 
 source=(https://dl.winehq.org/wine/source/3.0/$pkgname-$_pkgbasever.tar.xz{,.sign}
         harmony-fix.diff
-        30-win32-aliases.conf)
+        30-win32-aliases.conf
+        wine-binfmt.conf)
 sha512sums=('d9d1062be7f843681113f3fe669522cd5d47209ddc47625fa9b82b2e17c1d239d72846640d849e7fd9d5055db8623999bfbda34312ae67500f14345cbf12b73d'
             'SKIP'
             'b86edf07bfc560f403fdfd5a71f97930ee2a4c3f76c92cc1a0dbb2e107be9db3bed3a727a0430d8a049583c63dd11f5d4567fb7aa69b193997c6da241acc4f2e'
-            '6e54ece7ec7022b3c9d94ad64bdf1017338da16c618966e8baf398e6f18f80f7b0576edf1d1da47ed77b96d577e4cbb2bb0156b0b11c183a0accf22654b0a2bb')
+            '6e54ece7ec7022b3c9d94ad64bdf1017338da16c618966e8baf398e6f18f80f7b0576edf1d1da47ed77b96d577e4cbb2bb0156b0b11c183a0accf22654b0a2bb'
+            'bdde7ae015d8a98ba55e84b86dc05aca1d4f8de85be7e4bd6187054bfe4ac83b5a20538945b63fb073caab78022141e9545685e4e3698c97ff173cf30859e285')
 validpgpkeys=(5AC1A08B03BD7A313E0A955AF5E6E9EEB9461DD7
               DA23579A74D4AD9AF9D3F945CEFAC8EAAF17519D)
 
@@ -87,6 +89,7 @@
   samba           dosbox
 )
 makedepends=(${makedepends[@]} ${depends[@]})
+install=wine.install
 
 prepare() {
   # Allow ccache to work
@@ -158,6 +161,7 @@
   install -d "$pkgdir"/etc/fonts/conf.{avail,d}
   install -m644 "$srcdir/30-win32-aliases.conf" "$pkgdir/etc/fonts/conf.avail"
   ln -s ../conf.avail/30-win32-aliases.conf "$pkgdir/etc/fonts/conf.d/30-win32-aliases.conf"
+  install -Dm 644 "$srcdir/wine-binfmt.conf" "$pkgdir/usr/lib/binfmt.d/wine.conf"
 }
 
 # vim:set ts=8 sts=2 sw=2 et:

Added: wine-binfmt.conf
===================================================================
--- wine-binfmt.conf	                        (rev 0)
+++ wine-binfmt.conf	2017-12-14 04:36:44 UTC (rev 274318)
@@ -0,0 +1,2 @@
+# Start WINE on Windows executables
+:DOSWin:M::MZ::/usr/bin/wine:

Added: wine.install
===================================================================
--- wine.install	                        (rev 0)
+++ wine.install	2017-12-14 04:36:44 UTC (rev 274318)
@@ -0,0 +1,7 @@
+post_install() {
+  echo "Run 'systemctl restart systemd-binfmt' in order to make the wine binfmt available on your system."
+}
+
+post_remove() {
+  echo "binfmt binary formats will be updated at reboot"
+}



More information about the arch-commits mailing list