Add hydra-launcher-bin/PKGBUILD

This commit is contained in:
dataprolet 2024-11-02 14:18:41 +01:00
parent ee43d1fcd7
commit 0031843cf6
1 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,26 @@
# Maintainer: vinfehring <vinfehring at gmail dot com>
# Contributor: Fhilipe Coelho <fhilipecoelho.dev@gmail.com>
# Contributor: Arne Brücher <archlinux [at] arne [minus] bruecher [dot] de>
pkgname=hydra-launcher-bin
_pkgname=hydra-launcher
pkgver=3.0.4
pkgrel=1
pkgdesc="A game launcher with its own embedded bittorrent client and a self-managed repack scraper."
arch=('x86_64')
url="https://github.com/hydralauncher/hydra"
license=('MIT')
provides=('hydra-launcher')
options=(debug !strip)
depends=('lutris')
source_x86_64=("https://github.com/hydralauncher/hydra/releases/download/v${pkgver}/hydralauncher_${pkgver}_amd64.deb")
sha256sums_x86_64=('095bb13719539515a4a0b0aae559cb89ff64a417cf974309413ba4156f9b6e87')
package() {
tar -xvf 'data.tar.xz' -C "${pkgdir}"
install -dv "${pkgdir}/usr/bin"
ln -sfv "/opt/Hydra/hydralauncher" -t "${pkgdir}/usr/bin"
install -Dvm644 "${pkgdir}/opt/Hydra/"LICENSES.chromium.html \
-t "${pkgdir}/usr/share/licenses/hydra-launcher"
}