blob: edfcbba5334e854dc4b313f35bbac1a4e0e71b96 (
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 <info@abohiccups.com>
pkgname=slippi-launcher
_tagname='2.11.3'
pkgver='v2.11.3.r0.g16ab2554'
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=('24e444c646c6f5fb1c4b19a91389ca6e4428d8fde2981c2ec47dfcbc9d7573b1533fd009b4161879fe9b76d87e6d819ae34410ce01ea8acda19f48c056611783')
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"
}
|