makedeb
HGL, a Native alternative Linux Launcher for Epic Games
Viewing /PKGBUILD
.
Click here to go back to the Git tree for heroic-bin.
# Maintainer: Rudra Saraswat <rs2009@ubuntu.com>
# Maintainer: Chris Werner Rau <aur@cwrau.io>
# Maintainer: flaviofearn <flavioislima@gmail.com>
pkgname=heroic-bin
_pkgver=v2.2.3
pkgver=${_pkgver#v}
pkgrel=1
pkgdesc="HGL, a Native alternative Linux Launcher for Epic Games"
arch=('x86_64')
url="https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher"
license=('GPL3')
depends=('gawk' 'zstd')
_filename=heroic-${pkgver}.pacman
source=("$url/releases/download/${_pkgver}/${_filename}")
noextract=("${_filename}")
md5sums=('89380998afd83c41e0df104be443be81')
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"
}