Skip to content

Commit

Permalink
Add heroic-games-launcher-bin
Browse files Browse the repository at this point in the history
  • Loading branch information
FabioLolix committed Jul 29, 2023
1 parent 8d86a49 commit 0a61c38
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions h/heroic-games-launcher-bin/PKGBUILD
@@ -0,0 +1,26 @@
# Maintainer: Chris Werner Rau <aur@cwrau.io>
# Maintainer: flaviofearn <flavioislima@gmail.com>

pkgname=heroic-games-launcher-bin
_pkgver=v2.9.1
pkgver=${_pkgver#v}
pkgrel=2
pkgdesc="HGL, a Native alternative Linux Launcher for Epic and GOG Games"
arch=('x86_64')
url="https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher"
license=('GPL3')
conflicts=(${pkgname%-*}-{appimage,electron})
depends=('fuse2' 'gawk')
_filename=heroic-${pkgver}.pacman
source=("$url/releases/download/${_pkgver}/${_filename}")
noextract=("${_filename}")
md5sums=('2f78344617fb2d0991fe7d90083b9f03')
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"
}

# vim:set ts=2 sw=2 et: syntax=sh

0 comments on commit 0a61c38

Please sign in to comment.