packages/packages/heroic-games-launcher-bin/PKGBUILD

20 lines
650 B
Bash

# Maintainer: MedzikUser <nivua1fn@duck.com>
pkgname='heroic-games-launcher-bin'
pkgver="2.9.1"
pkgrel=1
pkgdesc='A Native GOG and Epic Games Launcher for Linux'
arch=('x86_64')
url="https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher"
license=('Apache')
depends=('fuse2' 'gawk' 'zstd')
_filename="heroic-$pkgver.pacman"
source=("${url}/releases/download/v${pkgver}/${_filename}")
sha256sums=('67bf96028b4e9b882eaa53fd7e02193f5201d69487d86396a852668f32622ab0')
options=('!strip')
package() {
tar -xJv -C "${pkgdir}" -f "${srcdir}/${_filename}" usr opt
mkdir "${pkgdir}/usr/bin"
ln -s "/opt/Heroic/heroic" "${pkgdir}/usr/bin/heroic"
}