summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c251469e0832dd6b774c9ead1a54d64b0047fe86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Silvio Fricke <silvio.fricke@gmail.com>

pkgname=wine-binfmt
pkgver=1
pkgrel=2
pkgdesc="Register wine interpreter for binfmt"
arch=("any")
url="http://www.freedesktop.org/software/systemd/man/binfmt.d.html"
license=("Unlicense")
depends=("wine" "systemd")
source=("wine.conf")
sha256sums=('bede63e9e8205c12928491ed47ac96ab2f5c4304ea6d47d0b6f170a1696bbdc6')

package() {
	install -Dm644 "wine.conf" "$pkgdir/usr/lib/binfmt.d/wine.conf"
}

post_install() {
	systemctl restart systemd-binfmt
}

post_remove() {
	systemctl restart systemd-binfmt
}