MCMrARM / mcpelauncher-linux

Please note this is a legacy repository, please go to: https://github.com/minecraft-linux/mcpelauncher-manifest/wiki
GNU General Public License v3.0
310 stars 44 forks source link

Could someone make a AUR package for Archlinux?? #19

Open noomly opened 8 years ago

noomly commented 8 years ago

I have not got to succeed at building the project so if someone could build an AUR package, it would be very cool :)

fazo96 commented 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:

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"
}
noomly commented 8 years ago

A bit late but thank you ! Also, it would be great if uploaded to AUR, is it possible now ?

fazo96 commented 8 years ago

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

ghost commented 7 years ago

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.

noomly commented 7 years ago

This would be awesome!

ghost commented 7 years ago

since it appears you're still interested, I'll look into getting this done today (:

NyaomiDEV commented 6 years ago

There's now an AUR package: mcpelauncher-git. Although it needs to be updated, I suggest to close this issue.