summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSolomon Choina2020-04-05 21:27:54 -0400
committerSolomon Choina2020-04-05 21:27:54 -0400
commitb02aece28eaf404709eb106b70d3fc5779f2e538 (patch)
tree1be507d066ae3486bde99824869f8a975399894e /PKGBUILD
downloadaur-b02aece28eaf404709eb106b70d3fc5779f2e538.tar.gz
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b9faa923a45
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Solomon Choina <shlomochoina@gmail.com>
+pkgname=edopro-bin
+pkgver=38.0.0
+pkgrel=1
+pkgdesc="Link compatable ygopro client with AI"
+arch=('x86_64')
+url='https://github.com/edo9300/edopro'
+license=('GPL2')
+depends=('mono' 'libevent' 'libglvnd' 'freetype2')
+makedepends=('patchelf')
+source=("local://ProjectIgnis-EDOPro-$pkgver-linux.tar.gz"
+ "io.github.edo9300.EDOPro.desktop")
+sha256sums=('f31a12c1f7bd5a9c20d5bdfd657697e8fa16137c93e62f550b409af6e53cbb59'
+ '0a9d949f027004c3ef86ba0eaf30e131d4f8c34994ca5fae72cbe08e740d99c7')
+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/*
+}