blob: 407f38d2a9f76a2814b5688d1db6cba9ca1bec4a (
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
25
26
|
# Maintainer: begin-theadventure <begin-thecontact.ncncb at dralias dot com>
# Contributor: GloriousEggroll <https://youtu.be/uxWJ1xvowMk>
pkgname=killwine
pkgver=1.0.0
pkgrel=5
pkgdesc="A shell script for killing Wine and Proton processes"
url="https://github.com/begin-theadventure/killwine"
arch=('any')
depends=('bash' 'wine')
source=("killwine.sh")
sha256sums=('7a27ba8d452b274be3b42a6938f0bff1403b11f918d99212ff700d9a391389a0')
prepare() {
# Create a shortcut
echo -e '[Desktop Entry]
Name=killwine
Comment=A shell script for killing Wine and Proton processes
Exec=killwine & notify-send "killwine" "Killing Wine.." -t 1000
Icon=wine' > killwine.desktop
}
package() {
install -Dm644 killwine.desktop -t "$pkgdir/usr/share/applications"
install -Dm755 killwine.sh "$pkgdir/usr/bin/killwine"
}
|