Package Details: magarena latest-1

Git Clone URL: https://aur.archlinux.org/magarena.git (read-only, click to copy)
Package Base: magarena
Description: A single-player fantasy card game played against a computer opponent
Upstream URL: https://magarena.github.io/
Licenses: GPLv3
Submitter: vmassuchetto
Maintainer: vmassuchetto
Last Packager: vmassuchetto
Votes: 5
Popularity: 0.001491
First Submitted: 2017-04-15 01:15
Last Updated: 2017-10-25 13:46

Dependencies (1)

Required by (0)

Sources (4)

Latest Comments

jonathon commented on 2020-04-22 00:22

The use of get-latest isn't great - I know it makes the package maintenance non-existent but it doesn't follow the Arch packaging guidelines. I've put together a quick starting point for a compliant PKGBUILD which you are free to adapt:

pkgname=magarena-bin
pkgver=1.96
pkgrel=1
pkgdesc="Single-player fantasy card game played against a computer opponent."
arch=(any)
url=https://magarena.github.io/
license=(GPL3)
depends=('java-runtime>=8')
provides=(${pkgname/-bin/})
conflicts=(${pkgname/-bin/})
source=(https://github.com/magarena/magarena/releases/download/$pkgver/Magarena-$pkgver.zip)
sha256sums=('355010fba4e14dbc30415749ec96e69557ac2d3829e32b90da629cf91f173438')

package() {
    cd Magarena-$pkgver
    install -Dm644 -t "$pkgdir"/usr/share/magarena/lib lib/*
    install -Dm644 -t "$pkgdir"/usr/share/magarena     Magarena.jar
    cp -r Magarena "$pkgdir"/usr/share/magarena/
    # ...
}

PedroHLC commented on 2019-09-27 14:43

Hi, please add makedepends=(wget unzip) it's required to build from a clean chroot.