summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorChris Cromer2017-05-07 20:49:05 -0300
committerChris Cromer2017-05-07 20:49:05 -0300
commitdbe50b3ecaa2b8fd4d8b9b4949f51175ae140680 (patch)
treeaa99b20a4235f632bbce6061fa4c80a1667c6137 /PKGBUILD
parentef4effa6de7e97ac328685b4f98dff19e2218e0b (diff)
downloadaur-dbe50b3ecaa2b8fd4d8b9b4949f51175ae140680.tar.gz
update to fix changes to arch
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD18
1 files changed, 16 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 32bb7fe184d..28504edf041 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,13 +2,14 @@
pkgname=ygopro-bin
pkgver=1.033.D
-pkgrel=1
+pkgrel=2
_pkgrel=1
pkgdesc="YGOPRO is a free online dueling system made for playing Yu-Gi-Oh! duels."
arch=('x86_64')
url='https://github.com/cromerc/ygopro'
license=('GPL2')
depends=('openal' 'openssl' 'freetype2' 'libevent' 'sfml' 'libgit2')
+makedepends=('git')
backup=(opt/ygopro/system.conf)
source=("https://github.com/cromerc/ygopro/archive/${pkgver}-${_pkgrel}.tar.gz"
ygopro.sh)
@@ -32,6 +33,19 @@ package() {
cd "$pkgdir/usr/lib"
ln -s libsfml-audio.so.2.4 libsfml-audio.so.2.3
ln -s libsfml-system.so.2.4 libsfml-system.so.2.3
+ ln -s libgit2.so.25 libgit2.so.24
- install -DTm755 ${srcdir}/ygopro.sh ${pkgdir}/usr/bin/ygopro
+ mkdir -p "$pkgdir/opt/ygopro/expansions/live2017"
+ cd "$pkgdir/opt/ygopro/expansions/live2017"
+ git init
+ git remote add origin https://github.com/Ygoproco/Live2017
+ git pull origin master
+
+ mkdir -p "$pkgname/opt/ygopro/expansions/liveanime"
+ cd "$pkgname/opt/ygopro/expansions/liveanime"
+ git init
+ git remote add origin https://github.com/Ygoproco/Liveanime
+ git pull origin master
+
+ install -DTm755 ${srcdir}/ygopro.sh ${pkgdir}/usr/bin/ygopro
}