blob: f1504c44e495215d4c116a7c3e32dfadae38965f (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
#Maintainer:AyoVizzion@protonmail.com
#Contributer:
_pkgname="yanix-launcher"
pkgname="yanix-launcher-git"
pkgver=v0.7
pkgrel=1
pkgdesc="Yandere Simulator Launcher For Linux"
arch=('x86_64')
url="https://nikoyandere.github.io"
license=('NLV2')
depends=(
'python-pyqt5'
'python-pyqtwebengine'
'python-pywebview'
'python-requests'
'wine'
)
makedepends=('git')
optdepends=('python-pypresence')
_pkgsrc=$_pkgname
source=("$_pkgsrc::git+https://github.com/NikoYandere/yanix-launcher.git")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgsrc"
git describe --tags | sed 's/-/./g'
}
package() {
cd "$srcdir/$_pkgsrc"
install -Dm755 "binary/yanix-launcher.py" "$pkgdir/usr/bin/yanix-launcher"
mkdir -p "$pkgdir/usr/share/yanix-launcher"
for datafile in "binary/data/*.png" "binary/data/*.mp3" "binary/data/*.txt"; do
install -Dm644 $datafile "$pkgdir/usr/share/yanix-launcher/"
done
install -Dm755 "binary/data/test.py" "$pkgdir/usr/share/yanix-launcher/"
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
mkdir -p "$pkgdir/usr/share/applications"
cat << EOF > "$pkgdir/usr/share/applications/yanix-launcher.desktop"
[Desktop Entry]
Name=Yanix Launcher
Comment=Yandere Simulator Launcher for Linux
Exec=$pkgdir/usr/bin/yanix-launcher
Icon=$pkgdir/usr/share/yanix-launcher/data/icons/Yanix-Launcher.png
Terminal=false
Type=Application
Categories=Game;Utility;
EOF
}
|