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

20 lines
650 B
Bash

# Maintainer: MedzikUser <nivua1fn@duck.com>
pkgname='heroic-games-launcher-bin'
pkgver="2.7.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=('4ca996d0975bcbe5afaba2648e08b8e2b1afe01a1da2971f97cc6c723e11088c')
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"
}