summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e2d6542e55b66739f3495abd4154c50e1685b5e7 (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
35
36
# 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=38.1.3
pkgrel=1
megaurl=https://mega.nz/file/lDhTiLLQ#ppfrMievkqfyqG__nzZ0TJK9FmfUY0foJOEjyuW-UxM
pkgdesc="Link compatable ygopro client with AI"
arch=('x86_64')
url='https://github.com/edo9300/edopro'
license=('GPL2')
depends=('mono' 'libevent' 'libglvnd' 'freetype2')
makedepends=('megatools')
source=("ProjectIgnis-EDOPro-$pkgver-linux.tar.gz::$megaurl" 
        "io.github.edo9300.EDOPro.desktop")
sha256sums=('bc370e50498656be7e2def9c3263b864ad6fecc16e91729984302cd886e0bbb4'
            '831c8d915064e997162ee172af1765b3105e8191f914b013317b3efa3906ef96')
options=('emptydirs')

package(){
  outputDir="$pkgdir/opt/edopro"
  mkdir -p $outputDir
  cp -dR ProjectIgnis/* $outputDir
	find $outputDir -type d -exec chmod 777 {} \;
	find $outputDir -type f -exec chmod 777 {} \;
  install -D io.github.edo9300.EDOPro.desktop $pkgdir/usr/share/applications/io.github.edo9300.EDOPro.desktop

   install -Dm755 /dev/stdin "$pkgdir"/usr/bin/EDOPro <<END
   #!/usr/bin/bash
   cd /opt/edopro
   /opt/edopro/EDOPro
END

    # uncomment to get rid of the default decks if wanted
    #rm $outputDir/deck/*
}