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

20 lines
651 B
Bash

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