mirror of
https://github.com/CompeyDev/lune-packaging.git
synced 2025-01-08 11:49:10 +00:00
feat(aur): lune v0.8.3
This commit is contained in:
parent
7ae579706b
commit
bfb79ea1a6
6 changed files with 30 additions and 27 deletions
|
@ -1,6 +1,6 @@
|
|||
pkgbase = lune-bin
|
||||
pkgdesc = [Precompiled Binaries] A standalone Luau script runtime
|
||||
pkgver = 0.8.2
|
||||
pkgver = 0.8.3
|
||||
pkgrel = 1
|
||||
url = https://lune-org.github.io/docs
|
||||
arch = x86_64
|
||||
|
@ -9,9 +9,9 @@ pkgbase = lune-bin
|
|||
depends = glibc
|
||||
provides = lune
|
||||
conflicts = lune
|
||||
source_x86_64 = https://github.com/filiptibell/lune/releases/download/v0.8.2/lune-0.8.2-linux-x86_64.zip
|
||||
sha256sums_x86_64 = b593235b9bfb7b91982d061c96a736fde0b1d0b28fd55f7121fd8c6be31332fa
|
||||
source_aarch64 = https://github.com/filiptibell/lune/releases/download/v0.8.2/lune-0.8.2-linux-aarch64.zip
|
||||
sha256sums_aarch64 = 8fd9d7e08cbcf72abc63ce149fee79740d2fbb32d5372e0f5d5ffd8de5bb297b
|
||||
source_x86_64 = https://github.com/filiptibell/lune/releases/download/v0.8.3/lune-0.8.3-linux-x86_64.zip
|
||||
sha256sums_x86_64 = 53296bc15d492476eb8470c5906a22d67e6628dc85b01d104ed00f7b9a98a695
|
||||
source_aarch64 = https://github.com/filiptibell/lune/releases/download/v0.8.3/lune-0.8.3-linux-aarch64.zip
|
||||
sha256sums_aarch64 = abd8c459f2ec58c73e4477c9803686f9b71124b5c799b3849c39e4c80a8aa435
|
||||
|
||||
pkgname = lune-bin
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Maintainer: Erica Marigold <hi@devcomp.xyz>
|
||||
|
||||
pkgname=lune-bin
|
||||
pkgver=0.8.2
|
||||
pkgver=0.8.3
|
||||
pkgrel=1
|
||||
pkgdesc="[Precompiled Binaries] A standalone Luau script runtime"
|
||||
arch=(x86_64 aarch64)
|
||||
|
@ -13,9 +13,9 @@ provides=(lune)
|
|||
conflicts=(lune)
|
||||
source_x86_64=("https://github.com/filiptibell/lune/releases/download/v$pkgver/lune-$pkgver-linux-x86_64.zip")
|
||||
source_aarch64=("https://github.com/filiptibell/lune/releases/download/v$pkgver/lune-$pkgver-linux-aarch64.zip")
|
||||
sha256sums_x86_64=('b593235b9bfb7b91982d061c96a736fde0b1d0b28fd55f7121fd8c6be31332fa')
|
||||
sha256sums_aarch64=('8fd9d7e08cbcf72abc63ce149fee79740d2fbb32d5372e0f5d5ffd8de5bb297b')
|
||||
sha256sums_x86_64=('53296bc15d492476eb8470c5906a22d67e6628dc85b01d104ed00f7b9a98a695')
|
||||
sha256sums_aarch64=('abd8c459f2ec58c73e4477c9803686f9b71124b5c799b3849c39e4c80a8aa435')
|
||||
|
||||
package() {
|
||||
install -Dm755 -t "$pkgdir/usr/bin" lune
|
||||
install -Dm755 -t "$pkgdir/usr/bin" lune
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
pkgbase = lune-git
|
||||
pkgdesc = [Latest Git Commit] A standalone Luau script runtime
|
||||
pkgver = 0.8.2.r0.g94ba331
|
||||
pkgver = 0.8.3.r0.g34fc23d
|
||||
pkgrel = 1
|
||||
url = https://lune-org.github.io/docs
|
||||
arch = x86_64
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Maintainer: Erica Marigold <hi@devcomp.xyz>
|
||||
|
||||
pkgname=lune-git
|
||||
pkgver=0.8.2.r0.g94ba331
|
||||
pkgver=0.8.3.r0.g34fc23d
|
||||
pkgrel=1
|
||||
pkgdesc="[Latest Git Commit] A standalone Luau script runtime"
|
||||
arch=(x86_64 aarch64)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
pkgbase = lune
|
||||
pkgdesc = [Latest Stable Source] A standalone Luau script runtime
|
||||
pkgver = 0.8.2
|
||||
pkgver = 0.8.3
|
||||
pkgrel = 1
|
||||
url = https://lune-org.github.io/docs
|
||||
arch = x86_64
|
||||
|
@ -11,7 +11,7 @@ pkgbase = lune
|
|||
conflicts = lune-git
|
||||
conflicts = lune-bin
|
||||
options = !lto
|
||||
source = lune-0.8.2.tar.gz::https://github.com/filiptibell/lune/archive/refs/tags/v0.8.2.tar.gz
|
||||
sha256sums = e98a00898c2573649d242d87b21af6cdeb5fd1c0fb5a9df53d9c18fc3c1c5008
|
||||
source = lune-0.8.3.tar.gz::https://github.com/filiptibell/lune/archive/refs/tags/v0.8.3.tar.gz
|
||||
sha256sums = f91ffc22ad6416231180197f39a437b7241131d80544ac7df88f56193875e50a
|
||||
|
||||
pkgname = lune
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Maintainer: Erica Marigold <hi@devcomp.xyz>
|
||||
|
||||
pkgname=lune
|
||||
pkgver=0.8.2
|
||||
pkgver=0.8.3
|
||||
pkgrel=1
|
||||
pkgdesc="[Latest Stable Source] A standalone Luau script runtime"
|
||||
arch=(x86_64 aarch64)
|
||||
|
@ -12,27 +12,30 @@ depends=(glibc)
|
|||
makedepends=(cargo)
|
||||
options=(!lto)
|
||||
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/filiptibell/lune/archive/refs/tags/v${pkgver}.tar.gz")
|
||||
sha256sums=('e98a00898c2573649d242d87b21af6cdeb5fd1c0fb5a9df53d9c18fc3c1c5008')
|
||||
sha256sums=('f91ffc22ad6416231180197f39a437b7241131d80544ac7df88f56193875e50a')
|
||||
|
||||
prepare() {
|
||||
cd "lune-${pkgver}"
|
||||
cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
|
||||
cd "lune-${pkgver}"
|
||||
cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "lune-${pkgver}"
|
||||
export RUSTUP_TOOLCHAIN=stable
|
||||
export CARGO_TARGET_DIR=target
|
||||
cargo build --frozen --release --all-features
|
||||
cd "lune-${pkgver}"
|
||||
export RUSTUP_TOOLCHAIN=stable
|
||||
export CARGO_TARGET_DIR=target
|
||||
cargo build --frozen --release --all-features
|
||||
}
|
||||
|
||||
check() {
|
||||
cd lune-${pkgver}
|
||||
export RUSTUP_TOOLCHAIN=stable
|
||||
cargo test --frozen --all-features -- --test-threads 1 || (EC=$?; if [ $EC -ne 0 ]; then exit 0; fi)
|
||||
cd lune-${pkgver}
|
||||
export RUSTUP_TOOLCHAIN=stable
|
||||
cargo test --frozen --all-features -- --test-threads 1 || (
|
||||
EC=$?
|
||||
if [ $EC -ne 0 ]; then exit 0; fi
|
||||
)
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "lune-${pkgver}"
|
||||
install -Dm755 -t ${pkgdir}/usr/bin target/release/lune
|
||||
cd "lune-${pkgver}"
|
||||
install -Dm755 -t ${pkgdir}/usr/bin target/release/lune
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue