use archive source instead of git
This commit is contained in:
7
.SRCINFO
7
.SRCINFO
@@ -1,14 +1,13 @@
|
|||||||
pkgbase = pandora-launcher
|
pkgbase = pandora-launcher
|
||||||
pkgdesc = A modern Minecraft launcher that balances ease-of-use with powerful instance management features.
|
pkgdesc = A modern Minecraft launcher that balances ease-of-use with powerful instance management features.
|
||||||
pkgver = 2.7.3
|
pkgver = 2.7.3
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = http://pandora.moulberry.com/
|
url = http://pandora.moulberry.com/
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = MIT
|
license = MIT
|
||||||
makedepends = cargo
|
makedepends = cargo
|
||||||
makedepends = mold
|
makedepends = mold
|
||||||
makedepends = xcb-util
|
makedepends = xcb-util
|
||||||
makedepends = git
|
|
||||||
depends = libxkbcommon-x11
|
depends = libxkbcommon-x11
|
||||||
depends = vulkan-tools
|
depends = vulkan-tools
|
||||||
depends = wayland
|
depends = wayland
|
||||||
@@ -21,9 +20,9 @@ pkgbase = pandora-launcher
|
|||||||
optdepends = orca: minecraft screen reader
|
optdepends = orca: minecraft screen reader
|
||||||
optdepends = gamemode: gamemode support
|
optdepends = gamemode: gamemode support
|
||||||
optdepends = mangohud: mangohud support
|
optdepends = mangohud: mangohud support
|
||||||
source = pandora-launcher::git+https://github.com/Moulberry/PandoraLauncher.git#tag=v2.7.3
|
source = pandora-launcher-2.7.3.tar.gz::https://github.com/Moulberry/PandoraLauncher/archive/refs/tags/v2.7.3.tar.gz
|
||||||
source = pandora-launcher.desktop
|
source = pandora-launcher.desktop
|
||||||
sha256sums = 89cca642291bac4b3a5d239b8ce65638aac9e27b253bbca93924c545aaeee92b
|
sha256sums = 89a1f154d31486b9020a21ac4a0833a82d3bc7d5738a5183df1261e11b0a6ad4
|
||||||
sha256sums = f9ab75791b696e27569c5bc44b8d325f356a6e36efe4eb9c2e227cb2ba95b6b3
|
sha256sums = f9ab75791b696e27569c5bc44b8d325f356a6e36efe4eb9c2e227cb2ba95b6b3
|
||||||
|
|
||||||
pkgname = pandora-launcher
|
pkgname = pandora-launcher
|
||||||
|
|||||||
20
PKGBUILD
20
PKGBUILD
@@ -1,8 +1,9 @@
|
|||||||
# Maintainer: Azur84 <Azur84@outlook.fr>
|
# Maintainer: Azur84 <Azur84@outlook.fr>
|
||||||
pkgname=pandora-launcher
|
pkgname=pandora-launcher
|
||||||
_pkgname=pandora_launcher
|
_pkgrustname=pandora_launcher
|
||||||
|
_pkgtarname=PandoraLauncher
|
||||||
pkgver=2.7.3
|
pkgver=2.7.3
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="A modern Minecraft launcher that balances ease-of-use with powerful instance management features."
|
pkgdesc="A modern Minecraft launcher that balances ease-of-use with powerful instance management features."
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="http://pandora.moulberry.com/"
|
url="http://pandora.moulberry.com/"
|
||||||
@@ -21,7 +22,6 @@ makedepends=(
|
|||||||
'cargo'
|
'cargo'
|
||||||
'mold'
|
'mold'
|
||||||
'xcb-util'
|
'xcb-util'
|
||||||
'git'
|
|
||||||
)
|
)
|
||||||
optdepends=(
|
optdepends=(
|
||||||
'flite: minecraft narrator support'
|
'flite: minecraft narrator support'
|
||||||
@@ -30,21 +30,21 @@ optdepends=(
|
|||||||
'mangohud: mangohud support'
|
'mangohud: mangohud support'
|
||||||
)
|
)
|
||||||
source=(
|
source=(
|
||||||
"$pkgname::git+https://github.com/Moulberry/PandoraLauncher.git#tag=v$pkgver"
|
"$pkgname-$pkgver.tar.gz::https://github.com/Moulberry/PandoraLauncher/archive/refs/tags/v$pkgver.tar.gz"
|
||||||
"$pkgname.desktop"
|
"$pkgname.desktop"
|
||||||
)
|
)
|
||||||
sha256sums=('89cca642291bac4b3a5d239b8ce65638aac9e27b253bbca93924c545aaeee92b'
|
sha256sums=('89a1f154d31486b9020a21ac4a0833a82d3bc7d5738a5183df1261e11b0a6ad4'
|
||||||
'f9ab75791b696e27569c5bc44b8d325f356a6e36efe4eb9c2e227cb2ba95b6b3')
|
'f9ab75791b696e27569c5bc44b8d325f356a6e36efe4eb9c2e227cb2ba95b6b3')
|
||||||
|
|
||||||
export RUSTUP_TOOLCHAIN=stable
|
export RUSTUP_TOOLCHAIN=stable
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "$pkgname"
|
cd "$_pkgtarname-$pkgver"
|
||||||
cargo fetch --locked --target $(rustc --print host-tuple)
|
cargo fetch --locked --target $(rustc --print host-tuple)
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$pkgname"
|
cd "$_pkgtarname-$pkgver"
|
||||||
export CARGO_TARGET_DIR=target
|
export CARGO_TARGET_DIR=target
|
||||||
export RUSTFLAGS="-C link-arg=-fuse-ld=mold"
|
export RUSTFLAGS="-C link-arg=-fuse-ld=mold"
|
||||||
cargo build --release --locked --target $(rustc --print host-tuple)
|
cargo build --release --locked --target $(rustc --print host-tuple)
|
||||||
@@ -53,8 +53,8 @@ build() {
|
|||||||
package() {
|
package() {
|
||||||
install -d "$pkgdir/usr/"{bin,share/{pixmaps,applications}}
|
install -d "$pkgdir/usr/"{bin,share/{pixmaps,applications}}
|
||||||
|
|
||||||
install -Dm755 "$pkgname/target/$(rustc --print host-tuple)/release/$_pkgname" "$pkgdir/usr/bin/$pkgname"
|
install -Dm755 "$_pkgtarname-$pkgver/target/$(rustc --print host-tuple)/release/$_pkgrustname" "$pkgdir/usr/bin/$pkgname"
|
||||||
install "$pkgname/package/windows.svg" "$pkgdir/usr/share/pixmaps/$pkgname.svg"
|
install "$_pkgtarname-$pkgver/package/windows.svg" "$pkgdir/usr/share/pixmaps/$pkgname.svg"
|
||||||
install "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
|
install "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
|
||||||
install -Dm644 "$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
install -Dm644 "$_pkgtarname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user