summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ce927b99f266395ff463ba7c4295b0cbe5d53cdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
## Maintainer: adiprasetya <ignilium.inc@gmail.com>

pkgname=mcbelauncher-bin
pkgver=0.10.0
pkgrel=716
pkgdesc="Minecraft Bedrock Launcher for Linux"
arch=("x86_64")
url="https://mcpelauncher.readthedocs.io"
license=("GPL3")
groups=()
depends=(fuse2)
makedepends=()
checkdepends=()
optdepends=('zenity: custom skin picker')
provides=(mcbelauncher)
conflicts=()
replaces=()
backup=()
options=(!strip)
install=
changelog=
source=("${pkgname}-${pkgver}-${pkgrel}.AppImage::https://github.com/minecraft-linux/appimage-builder/releases/download/v${pkgver}-${pkgrel}/Minecraft_Bedrock_Launcher-x86_64-v${pkgver}.${pkgrel}.AppImage"
    "${pkgname}.png::https://static.wikia.nocookie.net/minecraft_gamepedia/images/9/98/Bedrock_Edition_Google_Play_icon.png"
    "mcbelauncher.desktop")
noextract=("${pkgname}-${pkgver}-${pkgrel}.AppImage")
sha256sums=('9072496aed563004dbab3e4bd5049445b1bb382f9c1d5e2d2af76894dce5b40e'
            'd676e742b549cf7b4698cb9dc5be5f1734bc59313958cf9a7b7acd92a5ff3d76'
            '3ae613839cf1020192527621f97b8958394a2ff9dac6567cb16c5e76f0386e2d')

package() {
    # Install icon
    install -Dm644 "${srcdir}"/"${pkgname}".png "${pkgdir}"/usr/share/pixmaps/mcbe.png
    # Install desktop file
    install -Dm644 mcbelauncher.desktop "${pkgdir}"/usr/share/applications/mcbelauncher.desktop
    # Install binary
    install -Dm755 "${srcdir}"/"${pkgname}"-"${pkgver}"-"${pkgrel}".AppImage "${pkgdir}"/usr/bin/mcbelauncher
}