Skip to content

Commit

Permalink
Version 1.35.0
Browse files Browse the repository at this point in the history
Patch applied for "fnm completions\ panic: Schniz/fnm#1010
  • Loading branch information
Hazmi35 committed Aug 9, 2023
1 parent 607b2aa commit 235d117
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Maintainer: Wesley Moore <[email protected]>
pkgname=fnm
pkgver=1.34.0
pkgver=1.35.0
pkgrel=1
pkgdesc="Fast and simple Node.js version manager, built with Rust"
arch=('x86_64')
Expand All @@ -9,10 +9,15 @@ license=('GPL3')
depends=('xz' 'bzip2' 'gcc-libs')
makedepends=('cargo')
conflicts=('fnm-bin')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha256sums=('6ee954538e0af38b53004ea8834e8fec6b36d22711b67132888d1cbdbb06a09d')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz" "completions-panic.patch::$url/pull/1010/commits/a1f9f14a0ab7221b52ed2f563e50aa7b5a7e842e.patch")
sha256sums=('31b29e4534f17240ae576c9b726498bf551f1c14b3a0fb3ecc9f4aa95843d27a' '573e43881b65ff64a6b2fb569c10cc447c80a42da8e05ae7867e5b42c3d9db57')
options=('!lto')

prepare() {
cd "$pkgname-$pkgver"
patch --strip=1 --input=$srcdir/completions-panic.patch
}

build() {
cd "$pkgname-$pkgver"
CARGO_TARGET_DIR=target cargo build --release --locked
Expand Down

0 comments on commit 235d117

Please sign in to comment.