blob: 83918b8047c619abc19ca5027461841ddf8a4e44 (
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
|
# Maintainer: ABOhiccups <https://twitter.com/ABOhiccups>
pkgname=slippi-launcher
_tagname='2.5.1'
pkgver='v2.5.1.r0.g15db4bd2'
pkgrel=2
pkgdesc="The way to play Slippi Online and watch replays."
arch=('x86_64')
url="https://slippi.gg/"
license=('GPL3')
depends=('alsa-lib' 'bluez-libs' 'curl' 'enet' 'ffmpeg' 'fuse2' 'gcc-libs' 'glibc' 'hidapi' 'libevdev' 'libglvnd' 'libpng' 'libpulse' 'libusb' 'libx11' 'libxi' 'libxrandr' 'lzo' 'mbedtls' 'miniupnpc' 'official-gamecube-controller-adapter-rules' 'pugixml' 'qt5-base' 'sfml' 'systemd-libs' 'zlib')
makedepends=('cmake' 'git' 'ninja' 'python')
optdepends=('pulseaudio: PulseAudio backend')
options=('!strip')
_url="https://github.com/project-slippi/$pkgname/releases"
_package="Slippi-Launcher-$_tagname-$arch.AppImage"
source=("$_package::$_url/download/v$_tagname/$_package")
sha512sums=('f01b7b189a6bf7e99e23af54f2bb37b514f2a8f914a7e100e8c92606d29f19b8e9b0983baae094abc450a66f2347e656700f4ec9f5129e21438efff7f980e19f')
prepare() {
chmod +x "$srcdir/$_package"
$srcdir/$_package --appimage-extract
}
package() {
install -Dm755 "$_package" "$pkgdir/usr/bin/$pkgname"
install -Dm644 "squashfs-root/usr/share/icons/hicolor/512x512/apps/$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
install -dm644 "$pkgdir/usr/share/applications"
printf "[Desktop Entry]\nVersion=$pkgver\nName=Slippi Launcher\nComment=The way to play Slippi Online and watch replays.\nPath=/usr/bin\nExec=slippi-launcher\nIcon=slippi-launcher\nType=Application\nCategories=Game\nKeywords=slippi;melee;rollback\n" > "$pkgdir/usr/share/applications/$pkgname.desktop"
}
|