summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4a8ea2a13a42b3acd2532fde5ccb801ab4efe80f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Maintainer: Luis Martinez <luis dot martinez at tuta dot io>
# Maintainer: Solomon Choina <shlomochoina@gmail.com>
# The place where the .tar.gz is located is https://discord.gg/ygopro-percy

DLAGENTS=(https::/usr/bin/megadl --no-progress %u)

pkgname=edopro-bin
pkgver=39.1.2
pkgrel=1
pkgdesc="Free and open source ygopro client"
arch=('x86_64')
url='https://github.com/edo9300/edopro'
license=('AGPL3')
depends=('libglvnd')
makedepends=('megatools')
optdepends=('mono: AI support')
source=("ProjectIgnis-EDOPro-$pkgver-linux.tar.gz::https://mega.nz/file/9a4C3arS#3W3X4usmctzpv5XfLiJD4PKsiOPRhTde0GZ2TgGrylM"
        "io.github.edo9300.EDOPro.desktop"
        "edopro")
sha256sums=('01d6ac0c1330fe2e0c15dddeffbd7111f8f75a942dd16b4cc15880d0d7184147'
            '831c8d915064e997162ee172af1765b3105e8191f914b013317b3efa3906ef96'
            '149301c11a921742180535d77df7e2c89e486ef8cb6c5e6e33202dccc03a9ec7')
options=('emptydirs')

package() {
  cd ProjectIgnis

  install -d "$pkgdir/opt/edopro/"
  cp -a * "$pkgdir/opt/edopro/"
  install -Dm 755 "$srcdir/edopro" "$pkgdir/usr/bin/edopro"
  install -Dm 644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
  install -D "$srcdir/io.github.edo9300.EDOPro.desktop" \
    -t "$pkgdir/usr/share/applications/"
}