Open noomly opened 8 years ago
I tried to, the PKGBUILD I wrote compiles the launcher and extracts the game just fine, but for some reason the game crashes on start. If I just manually do everything it works and I can play fine.
Here it is if someone wants to try. Keep in mind though:
minecraft.apk
file next to the PKGBUILD or the package won't build./usr/bin/mcpe
shortcut doesn't work. A simple script fixes it but the game still won't work. To try to play, just cd /opt/mcpe/
then run ./mcpelauncher
. I thought it was a permission problem but even as root it won't start.pkgname="mcpe-launcher"
pkgver="git"
pkgdesc="launcher for Minecraft: Pocket Edition. Requires a google account with a purchased copy of Minecraft: Pocket Edition"
pkgrel=1
arch=('x86_64')
url="https://github.com/MCMrARM/mcpelauncher-linux"
depends=('lib32-libx11' 'lib32-zlib' 'lib32-libpng')
makedepends=('cmake')
source=(https://github.com/MCMrARM/mcpelauncher-linux/archive/master.zip minecraft.apk)
md5sums=('SKIP' 'SKIP')
build() {
cp -r ./mcpelauncher-linux-master/* .
cmake .
make
sh extract.sh ./minecraft.apk
}
package() {
mkdir -p "$pkgdir/opt/mcpe/"
cp -r $srcdir/* "$pkgdir/opt/mcpe/"
mkdir -p "$pkgdir/usr/bin/"
ln -s "$pkgdir/opt/mcpe/mcpelauncher" "$pkgdir/usr/bin/mcpe"
}
A bit late but thank you ! Also, it would be great if uploaded to AUR, is it possible now ?
I don't know, I won't upload this to the AUR because it doesn't work, and I haven't tried to fix it... I don't really have the time now, but maybe someone more skilled than me does
I have an AUR package written for my fork, and I may as well change it slightly to make a version for the original project as well. I'll look into this ASAP.
This would be awesome!
since it appears you're still interested, I'll look into getting this done today (:
There's now an AUR package: mcpelauncher-git
.
Although it needs to be updated, I suggest to close this issue.
I have not got to succeed at building the project so if someone could build an AUR package, it would be very cool :)