summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorkaptoxic2016-06-12 02:27:16 -0400
committerkaptoxic2016-06-12 02:27:16 -0400
commit020edfd24327e0dc39c9507e14dd1eca89314082 (patch)
treecfbf82867dd0db2ee63df7a3b75aa76c057d1ff8
downloadaur-020edfd24327e0dc39c9507e14dd1eca89314082.tar.gz
Revive original package
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD92
-rw-r--r--yofrankie.desktop8
-rw-r--r--yofrankie.pngbin0 -> 6324 bytes
-rw-r--r--yofrankie.sh6
5 files changed, 129 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..64d7397a85c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+# Generated by mksrcinfo v8
+# Sun Jun 12 06:27:13 UTC 2016
+pkgbase = yofrankie
+ pkgdesc = A 3D platform game based on the bully rodent in Big Buck Bunny
+ pkgver = 1.1
+ pkgrel = 4
+ url = http://www.yofrankie.org/
+ arch = any
+ license = CCPL
+ depends = libjpeg6=6b1-2
+ depends = python2
+ conflicts = yofrankie-demo-glsl
+ source = yofrankie.desktop
+ source = yofrankie.sh
+ source = yofrankie.png
+ source = http://download.blender.org/apricot/yofrankie_1_1b_bge.zip
+ md5sums = d95468f23f1b41bc33ced8cd58c908de
+ md5sums = db35b001da266610609ae20fae5ee71e
+ md5sums = 0c80203d56bd4bbbc5f1e74c8e32a54a
+ md5sums = 863924c515b483adfa5f63e8d982b5c2
+
+pkgname = yofrankie
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..613a593d0e0
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,92 @@
+# Contributer: Gadget3000 <gadget3000 at msn dot com>
+# Contributer: N30N <archlinux@alunamation.com>
+# Maintainer: debdj <debd92@gmail.com>
+
+pkgname=yofrankie
+pkgver=1.1
+pkgrel=4
+pkgdesc="A 3D platform game based on the bully rodent in Big Buck Bunny"
+url="http://www.yofrankie.org/"
+license=("CCPL")
+arch=('any')
+depends=('libjpeg6=6b1-2' 'python2')
+conflicts=("yofrankie-demo-glsl")
+source=("yofrankie.desktop" \
+ "yofrankie.sh"
+ "yofrankie.png" \
+ "http://download.blender.org/apricot/yofrankie_${pkgver/./_}b_bge.zip")
+md5sums=('d95468f23f1b41bc33ced8cd58c908de'
+ 'db35b001da266610609ae20fae5ee71e'
+ '0c80203d56bd4bbbc5f1e74c8e32a54a'
+ '863924c515b483adfa5f63e8d982b5c2')
+
+#build() {
+# cd ${srcdir}/yofrankie_${pkgver/./_}b_bge
+# sed -i 's_python_python2_' Makefile
+# make
+#}
+
+package() {
+ install -D -m644 ${startdir}/yofrankie.desktop ${pkgdir}/usr/share/applications/yofrankie.desktop
+ install -D -m644 ${startdir}/yofrankie.png ${pkgdir}/usr/share/pixmaps/yofrankie.png
+ install -Dm755 ${startdir}/yofrankie.sh ${pkgdir}/usr/bin/yofrankie.sh
+ # or if you want the ugly icon...
+ # install -D -m644 yofrankie_${pkgver/./_}b_bge/dist/yofrankie.png ${pkgdir}/usr/share/pixmaps/yofrankie.png
+
+ data=(
+ "audio"
+ "levels"
+ "levels/level_scripts"
+ "levels/menu_scripts"
+ "levels/selector_scripts"
+ "chars"
+ "chars/frankie_scripts"
+ "chars/sheep_scripts"
+ "chars/textures"
+ "menus"
+ "effects"
+ "effects/effects_scripts"
+ "props"
+ "hud"
+ "hud/hud_scripts"
+ "textures"
+ "textures/credits"
+ "textures/level_lighthouse"
+ "textures/level_nut"
+ "textures/level_nut/raw"
+ )
+
+
+
+ cd ${srcdir}/yofrankie_${pkgver/./_}b_bge
+
+ #install the binaries
+ [[ `uname -m` = 'x86_64' ]] && install -Dm 755 yofrankie-linux-x86_64.bin ${pkgdir}/usr/bin/yofrankie/yofrankie-linux-x86_64.bin
+ [[ `uname -m` = 'i386' ]] && install -Dm 755 yofrankie-linux-i386.bin ${pkgdir}/usr/bin/yofrankie/yofrankie-linux-i386.bin
+
+ #ln -s -T ${pkgdir}/usr/bin/yofrankie/yofrankie-linux-*.bin ${pkgdir}/usr/bin/yofranky
+
+ #data files
+ install -Dm644 yo_frankie_stub.blend ${pkgdir}/usr/share/yofrankie/yo_frankie_stub.blend
+ #ln -s -t ${pkgdir}/usr/bin/yofrankie/ ${pkgdir}/usr/share/yofrankie/yo_frankie_stub.blend
+
+ #if [[ `uname -m` = 'x86_64' ]]; then
+ #install -Dm644 yofrankie-linux-x86_64.bin.bgeconf \
+#${pkgdir}/usr/share/yofrankie/yofrankie-linux-x86_64.bin.bgeconf
+ #ln -s -t ${pkgdir}/usr/bin/yofrankie/ ${pkgdir}/usr/share/yofrankie/yofrankie-linux-x86_64.bin.bgeconf
+ #fi
+
+ for ((i=0; i< ${#data[@]}; i++)); do
+ mkdir -p ${pkgdir}/usr/share/yofrankie/${data[i]}
+ install -m644 -t ${pkgdir}/usr/share/yofrankie/${data[i]} ${data[i]}/*.*
+ mkdir -p ${pkgdir}/usr/bin/yofrankie/${data[i]}
+ for item in ${pkgdir}/usr/share/yofrankie/${data[i]}/*; do
+ ln -s -t ${pkgdir}/usr/bin/yofrankie/${data[i]} ${item}
+ done
+ done
+
+ #make the python scripts executable
+ for i in ${pkgdir}/usr/share/yofrankie/*/*_scripts/*; do
+ chmod 755 ${i}
+ done
+}
diff --git a/yofrankie.desktop b/yofrankie.desktop
new file mode 100644
index 00000000000..71dbe27b993
--- /dev/null
+++ b/yofrankie.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Type=Application
+Name="Yo Frankie!"
+Comment="3D platform game"
+Exec=yofrankie.sh
+Icon=/usr/share/pixmaps/yofrankie.png
+Terminal=false
+Categories=Game;ActionGame;
diff --git a/yofrankie.png b/yofrankie.png
new file mode 100644
index 00000000000..5c830d7629b
--- /dev/null
+++ b/yofrankie.png
Binary files differ
diff --git a/yofrankie.sh b/yofrankie.sh
new file mode 100644
index 00000000000..aba62501c4a
--- /dev/null
+++ b/yofrankie.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+cd /usr/bin/yofrankie
+./yofrankie-linux-*.bin /usr/share/yofrankie/yo_frankie_stub.blend
+
+exit 0