Inital upload beginning from 0.6.12.1438

This commit is contained in:
Adrian 2021-05-11 16:18:25 +02:00
commit 6777434c02
2 changed files with 61 additions and 0 deletions

27
.SRCINFO Normal file
View file

@ -0,0 +1,27 @@
pkgbase = multimc-bin
pkgdesc = Free, open source launcher and instance manager for Minecraft.
pkgver = 0.6.12.1438
pkgrel = 1
url = http://multimc.org/
arch = i686
arch = x86_64
license = Apache
depends = zlib
depends = libgl
depends = qt5-base
depends = qt5-x11extras
depends = java-runtime
depends = qt5-svg
depends = xorg-xrandr
provides = multimc
provides = multimc5
provides = multimc5-git
conflicts = multimc
conflicts = multimc5
conflicts = multimc5-git
noextract = multimc-bin-0.6.12.1438.deb
source = multimc-bin-0.6.12.1438.deb::https://files.multimc.org/downloads/multimc_1.5-1.deb
sha512sums = 26fe11eff406efd09612002e4c53fc1ea0b3f7d0aca389475a7afff454efa52ed52097f6a0bbc27de61fba3fed252321754738a0f79b0d8a7308a39701087e67
pkgname = multimc-bin

34
PKGBUILD Normal file
View file

@ -0,0 +1,34 @@
# Maintainer: Adrian Schmitz <zetabite.horzion@gmail.com>
pkgname=multimc-bin
pkgver=0.6.12.1438
pkgrel=1
pkgdesc="Free, open source launcher and instance manager for Minecraft."
arch=('i686' 'x86_64')
url="http://multimc.org/"
license=('Apache')
depends=('zlib' 'libgl' 'qt5-base' 'qt5-x11extras' 'java-runtime' 'qt5-svg' 'xorg-xrandr')
conflicts=('multimc' 'multimc5' 'multimc5-git')
provides=('multimc' 'multimc5' 'multimc5-git')
source=("$pkgname-$pkgver.deb::https://files.multimc.org/downloads/multimc_1.5-1.deb")
sha512sums=('26fe11eff406efd09612002e4c53fc1ea0b3f7d0aca389475a7afff454efa52ed52097f6a0bbc27de61fba3fed252321754738a0f79b0d8a7308a39701087e67')
noextract=("$pkgname-$pkgver.deb")
prepare() {
mkdir -p $pkgname-$pkgver && bsdtar -xf $pkgname-$pkgver.deb -C $pkgname-$pkgver
cd $srcdir/$pkgname-$pkgver && bsdtar -xf data.tar.xz -C $srcdir/$pkgname-$pkgver
}
package() {
mkdir -p "$pkgdir/opt/multimc"
mkdir -p "$pkgdir/usr/share/metainfo"
mkdir -p "$pkgdir/usr/share/applications"
cp -R "$srcdir/$pkgname-$pkgver/opt/multimc/" -T "$pkgdir/opt/multimc/"
cp -R "$srcdir/$pkgname-$pkgver/usr/share/metainfo/" -T "$pkgdir/usr/share/metainfo/"
cp -R "$srcdir/$pkgname-$pkgver/usr/share/applications/" -T "$pkgdir/usr/share/applications/"
install -m644 -D "$srcdir/$pkgname-$pkgver/usr/share/applications/multimc.desktop" "$pkgdir/usr/share/applications/multimc.desktop"
install -m644 -D "$srcdir/$pkgname-$pkgver/usr/share/metainfo/multimc.metainfo.xml" "$pkgdir/usr/share/metainfo/multimc.metainfo.xml"
install -m644 -D "$srcdir/$pkgname-$pkgver/opt/multimc/icon.svg" "$pkgdir/opt/multimc/icon.svg"
install -m755 -D "$srcdir/$pkgname-$pkgver/opt/multimc/run.sh" "$pkgdir/opt/multimc/run.sh"
}