summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis Martinez2021-03-03 17:45:20 -0600
committerLuis Martinez2021-03-03 17:45:20 -0600
commitb2b3bb88f9d8401b07b61cde4d03be9c4b953edb (patch)
tree55a1fb9f89f7c611aa84a6ac8fc95f9c1b6da5e3
parent0be2ef3895eec5b6e6bbe592f65284a202773d49 (diff)
downloadaur-b2b3bb88f9d8401b07b61cde4d03be9c4b953edb.tar.gz
update to 39.0.3, PKGBUILD cleanup
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD46
-rw-r--r--edopro4
3 files changed, 35 insertions, 31 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 604d078c9ca..e8d7df5ad23 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,20 +1,20 @@
pkgbase = edopro-bin
- pkgdesc = Link compatable ygopro client with AI
- pkgver = 38.1.3
+ pkgdesc = Free and open source ygopro client
+ pkgver = 39.0.3
pkgrel = 1
url = https://github.com/edo9300/edopro
arch = x86_64
- license = GPL2
+ license = AGPL3
makedepends = megatools
- depends = mono
- depends = libevent
depends = libglvnd
- depends = freetype2
+ optdepends = mono: AI support
options = emptydirs
- source = ProjectIgnis-EDOPro-38.1.3-linux.tar.gz::https://mega.nz/file/lDhTiLLQ#ppfrMievkqfyqG__nzZ0TJK9FmfUY0foJOEjyuW-UxM
+ source = ProjectIgnis-EDOPro-39.0.3-linux.tar::https://mega.nz/file/ACglSKaC#Mhu-KfVoO4UgWmMkZLULpp531KdoiocylEhHisXZ3Ls
source = io.github.edo9300.EDOPro.desktop
- sha256sums = bc370e50498656be7e2def9c3263b864ad6fecc16e91729984302cd886e0bbb4
+ source = edopro
+ sha256sums = 472bc831c0a22f0a619d1fb4cc1b39af14f0bda74bf0a96a821038d711c700bb
sha256sums = 831c8d915064e997162ee172af1765b3105e8191f914b013317b3efa3906ef96
+ sha256sums = 149301c11a921742180535d77df7e2c89e486ef8cb6c5e6e33202dccc03a9ec7
pkgname = edopro-bin
diff --git a/PKGBUILD b/PKGBUILD
index e2d6542e55b..f6f7e966416 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,36 +1,36 @@
+# Maintainer: lmartinez-mirror
# 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
+pkgver=39.0.3
pkgrel=1
-megaurl=https://mega.nz/file/lDhTiLLQ#ppfrMievkqfyqG__nzZ0TJK9FmfUY0foJOEjyuW-UxM
-pkgdesc="Link compatable ygopro client with AI"
+pkgdesc="Free and open source ygopro client"
arch=('x86_64')
url='https://github.com/edo9300/edopro'
-license=('GPL2')
-depends=('mono' 'libevent' 'libglvnd' 'freetype2')
+license=('AGPL3')
+depends=('libglvnd')
makedepends=('megatools')
-source=("ProjectIgnis-EDOPro-$pkgver-linux.tar.gz::$megaurl"
- "io.github.edo9300.EDOPro.desktop")
-sha256sums=('bc370e50498656be7e2def9c3263b864ad6fecc16e91729984302cd886e0bbb4'
- '831c8d915064e997162ee172af1765b3105e8191f914b013317b3efa3906ef96')
+optdepends=('mono: AI support')
+source=("ProjectIgnis-EDOPro-$pkgver-linux.tar::https://mega.nz/file/ACglSKaC#Mhu-KfVoO4UgWmMkZLULpp531KdoiocylEhHisXZ3Ls"
+ "io.github.edo9300.EDOPro.desktop"
+ "edopro")
+sha256sums=('472bc831c0a22f0a619d1fb4cc1b39af14f0bda74bf0a96a821038d711c700bb'
+ '831c8d915064e997162ee172af1765b3105e8191f914b013317b3efa3906ef96'
+ '149301c11a921742180535d77df7e2c89e486ef8cb6c5e6e33202dccc03a9ec7')
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
+package() {
+ cd ProjectIgnis
- install -Dm755 /dev/stdin "$pkgdir"/usr/bin/EDOPro <<END
- #!/usr/bin/bash
- cd /opt/edopro
- /opt/edopro/EDOPro
-END
+ install -dm 777 "$pkgdir/opt/edopro"
+ install -Dm 777 EDOPro -t "$pkgdir/opt/edopro/"
+ install -Dm 777 "$srcdir/edopro" "$pkgdir/usr/bin/edopro"
+ install -Dm 644 libocgcore.so -t "$pkgdir/opt/edopro"
+ install -Dm 644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
- # uncomment to get rid of the default decks if wanted
- #rm $outputDir/deck/*
+ find config expansions fonts notices script skin sound textures WindBot \
+ -type f -exec install -Dm 777 '{}' "$pkgdir/opt/edopro/{}" \;
+ install -D "$srcdir/io.github.edo9300.EDOPro.desktop" \
+ -t "$pkgdir/usr/share/applications/"
}
diff --git a/edopro b/edopro
new file mode 100644
index 00000000000..d0d2811473b
--- /dev/null
+++ b/edopro
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+cd /opt/edopro
+/opt/edopro/EDOPro