PKGBUILDs/hydra-launcher-bin/PKGBUILD

26 lines
988 B
Bash

# 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"
}