f521c7e9f6
* Uncommented line that actually started multimc in script (from debugging)
43 lines
1.7 KiB
Bash
Executable file
43 lines
1.7 KiB
Bash
Executable file
# Maintainer: vorpalblade77@gmail.com
|
|
# Contributor: b.klettbach@gmail.com
|
|
|
|
pkgname=multimc5
|
|
pkgver=0.4.7
|
|
pkgrel=3
|
|
pkgdesc="Minecraft launcher with ability to manage multiple instances."
|
|
arch=('i686' 'x86_64')
|
|
url="http://multimc.org/"
|
|
license=('Apache')
|
|
depends=('qt5-base' 'qt5-x11extras' 'java-runtime' 'qt5-svg')
|
|
makedepends=('git' 'cmake' 'qt5-tools' 'qt5-x11extras' 'java-environment')
|
|
optdepends=('mcedit: Allows editing of minecraft worlds')
|
|
conflicts=('multimc5-git')
|
|
source=("https://github.com/MultiMC/MultiMC5/archive/${pkgver}.tar.gz"
|
|
'multimc5.sh'
|
|
'multimc5.desktop'
|
|
)
|
|
sha512sums=('237b566ee6b7e6ba0800790f0ec25e3e2fd6037688fd5b3105d8f3dfe880c3d0eeb5d08969b222b45cf815e8c616aef0bc955a4ac12bf65138a88f004ea2175f'
|
|
'5057e3a5b3affccd89ade67bfa824e53ba9872b851bfe10868c5d35bf3d9f9f6fbdcbbd20bd4abebc1567418da60f967ce08cde95cdcd40a3ef902bb9db1752b'
|
|
'a6712d0e84acc719ed1aff740717add44202f88cb42a0b7a3157108b73a1009ac7edd325f75d372e0a63617f40eb614d55fb4e24e5c1fb8957cd280486070675')
|
|
|
|
|
|
|
|
build() {
|
|
cd "$srcdir/MultiMC5-${pkgver}"
|
|
|
|
sed -i '/add_subdirectory(mmc_updater)/d' CMakeLists.txt
|
|
mkdir -p build
|
|
cd build
|
|
cmake $srcdir/MultiMC5-${pkgver}
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/MultiMC5-${pkgver}/build"
|
|
install -D MultiMC $pkgdir/usr/lib/multimc5/MultiMC5
|
|
install -D $srcdir/multimc5.sh $pkgdir/usr/bin/multimc5
|
|
install -D $srcdir/MultiMC5-${pkgver}/application/resources/multimc/scalable/multimc.svg $pkgdir/usr/share/pixmaps/multimc5.svg
|
|
install -D $srcdir/multimc5.desktop $pkgdir/usr/share/applications/multimc5.desktop
|
|
install -D jars/NewLaunch.jar $pkgdir/usr/lib/multimc5/jars/NewLaunch.jar
|
|
install -D jars/JavaCheck.jar $pkgdir/usr/lib/multimc5/jars/JavaCheck.jar
|
|
}
|