Add missing dependencies and symlink in /usr/bin
This commit is contained in:
parent
6777434c02
commit
c97a22dcf3
2 changed files with 7 additions and 4 deletions
5
.SRCINFO
5
.SRCINFO
|
@ -1,7 +1,7 @@
|
|||
pkgbase = multimc-bin
|
||||
pkgdesc = Free, open source launcher and instance manager for Minecraft.
|
||||
pkgver = 0.6.12.1438
|
||||
pkgrel = 1
|
||||
pkgrel = 2
|
||||
url = http://multimc.org/
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
|
@ -13,6 +13,8 @@ pkgbase = multimc-bin
|
|||
depends = java-runtime
|
||||
depends = qt5-svg
|
||||
depends = xorg-xrandr
|
||||
depends = zenity
|
||||
depends = wget
|
||||
provides = multimc
|
||||
provides = multimc5
|
||||
provides = multimc5-git
|
||||
|
@ -24,4 +26,3 @@ pkgbase = multimc-bin
|
|||
sha512sums = 26fe11eff406efd09612002e4c53fc1ea0b3f7d0aca389475a7afff454efa52ed52097f6a0bbc27de61fba3fed252321754738a0f79b0d8a7308a39701087e67
|
||||
|
||||
pkgname = multimc-bin
|
||||
|
||||
|
|
6
PKGBUILD
6
PKGBUILD
|
@ -1,12 +1,12 @@
|
|||
# Maintainer: Adrian Schmitz <zetabite.horzion@gmail.com>
|
||||
pkgname=multimc-bin
|
||||
pkgver=0.6.12.1438
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
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')
|
||||
depends=('zlib' 'libgl' 'qt5-base' 'qt5-x11extras' 'java-runtime' 'qt5-svg' 'xorg-xrandr' 'zenity' 'wget')
|
||||
conflicts=('multimc' 'multimc5' 'multimc5-git')
|
||||
provides=('multimc' 'multimc5' 'multimc5-git')
|
||||
source=("$pkgname-$pkgver.deb::https://files.multimc.org/downloads/multimc_1.5-1.deb")
|
||||
|
@ -22,6 +22,7 @@ package() {
|
|||
mkdir -p "$pkgdir/opt/multimc"
|
||||
mkdir -p "$pkgdir/usr/share/metainfo"
|
||||
mkdir -p "$pkgdir/usr/share/applications"
|
||||
mkdir -p "$pkgdir/usr/bin"
|
||||
|
||||
cp -R "$srcdir/$pkgname-$pkgver/opt/multimc/" -T "$pkgdir/opt/multimc/"
|
||||
cp -R "$srcdir/$pkgname-$pkgver/usr/share/metainfo/" -T "$pkgdir/usr/share/metainfo/"
|
||||
|
@ -31,4 +32,5 @@ package() {
|
|||
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"
|
||||
ln -s "/opt/multimc/run.sh" "$pkgdir/usr/bin/multimc"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue