summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8dfc07d8312e5adc22b04447f7b16905a9446656 (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
# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
pkgname="tjmc-launcher-bin"
_appname="TJMC-Launcher"
pkgver=0.1.1006
pkgrel=1
pkgdesc="A simple to use, extremely fast, and well supported app, that allows you to install pure and modded versions of Java Minecraft."
arch=('aarch64' 'x86_64')
url="https://launcher.tjmc.ru/"
_githuburl="https://github.com/tjmcraft/TJMC-Launcher"
license=('MIT')
conflicts=("${pkgname%-bin}" "${pkgname%-bin}-appimage")
depends=('libxfixes' 'hicolor-icon-theme' 'nss' 'alsa-lib' 'cairo' 'libxrandr' 'at-spi2-core' 'glibc' 'gtk3' 'mesa' 'nspr' 'dbus' \
    'libdrm' 'libx11' 'pango' 'glib2' 'libcups' 'libxcomposite' 'libxdamage' 'libxext' 'libxcb' 'libxkbcommon' 'expat' 'gcc-libs')
source_aarch64=("${pkgname%-bin}-${pkgver}-aarch64.deb::${_githuburl}/releases/download/v${pkgver}/${_appname}-setup-arm64.deb")
source_x86_64=("${pkgname%-bin}-${pkgver}-x86_64.deb::${_githuburl}/releases/download/v${pkgver}/${_appname}-setup-amd64.deb")
source=("LICENSE::https://raw.githubusercontent.com/tjmcraft/TJMC-Launcher/main/LICENSE")
sha256sums=('1a25e3b0f4bf16543e5f802cf6d9d189bcae27617ca8be936ad866a8955d9ce6')
sha256sums_aarch64=('ecc417193fea1d5d5666a8a4c3d7b36b0b6622b0f001ee11962a408e883bdf08')
sha256sums_x86_64=('bf8d3fd2b045f3722ebeddea0dad8c76e0b5dc9b9571d9a83cfd7e481efea14f')
    
package() {
    bsdtar -xf "${srcdir}/data.tar.gz" -C "${pkgdir}"
    install -Dm644 "${srcdir}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
}