Skip to content

Commit

Permalink
upd(asdf-vm): 0.15.0 -> 0.16.0 (#6998)
Browse files Browse the repository at this point in the history
Co-authored-by: Tobias Heinlein <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Feb 11, 2025
1 parent 01f7df4 commit c2e67ca
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 45 deletions.
14 changes: 10 additions & 4 deletions packages/asdf-vm/.SRCINFO
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
pkgbase = asdf-vm
pkgver = 0.15.0
pkgver = 0.16.0
pkgdesc = Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more
url = https://asdf-vm.com
arch = any
arch = i386
arch = amd64
arch = arm64
depends = curl
depends = git
optdepends = build-essential: Array of tools to build software
Expand All @@ -12,7 +14,11 @@ pkgbase = asdf-vm
optdepends = unzip: Needed by some plugins, like Elixir
license = MIT
repology = project: asdf-vm
source = asdf-vm-0.15.0.tar.gz::https://github.com/asdf-vm/asdf/archive/v0.15.0.tar.gz
sha256sums = d0cafe61d27b5e3fcb53658821bfbf744fd040a8ea28b0e22277e032b8e8f7fe
source_i386 = asdf-vm-0.16.0-i386.tar.gz::https://github.com/asdf-vm/asdf/releases/download/v0.16.0/asdf-v0.16.0-linux-386.tar.gz
sha256sums_i386 = f3ee5eb3089304fe5d3961174b045feaf2bf33afd6b232a10237dd5d607a7e03
source_amd64 = asdf-vm-0.16.0-amd64.tar.gz::https://github.com/asdf-vm/asdf/releases/download/v0.16.0/asdf-v0.16.0-linux-amd64.tar.gz
sha256sums_amd64 = 7558f8b916fa461ea04b653fdb62fea01362720349e9ef3aa497bc7ef93d22ac
source_arm64 = asdf-vm-0.16.0-arm64.tar.gz::https://github.com/asdf-vm/asdf/releases/download/v0.16.0/asdf-v0.16.0-linux-arm64.tar.gz
sha256sums_arm64 = 5394e85001a36dc792087069303fa66e08d0f67740448fcd68dded974aaadb77

pkgname = asdf-vm
54 changes: 17 additions & 37 deletions packages/asdf-vm/asdf-vm.pacscript
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
pkgname=asdf-vm
pkgver=0.15.0
pkgver=0.16.0
pkgdesc='Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more'
repology=("project: ${pkgname}")
arch=('any')
arch=('i386' 'amd64' 'arm64')
url='https://asdf-vm.com'
license=('MIT')
depends=(
Expand All @@ -16,50 +16,30 @@ optdepends=(
'libncurses-dev: Text-based UI library for terminal applications'
'unzip: Needed by some plugins, like Elixir'
)
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/asdf-vm/asdf/archive/v${pkgver}.tar.gz")
sha256sums=('d0cafe61d27b5e3fcb53658821bfbf744fd040a8ea28b0e22277e032b8e8f7fe')
source_i386="${pkgname}-${pkgver}-i386.tar.gz::https://github.com/asdf-vm/asdf/releases/download/v${pkgver}/asdf-v${pkgver}-linux-386.tar.gz"
source_amd64="${pkgname}-${pkgver}-amd64.tar.gz::https://github.com/asdf-vm/asdf/releases/download/v${pkgver}/asdf-v${pkgver}-linux-amd64.tar.gz"
source_arm64="${pkgname}-${pkgver}-arm64.tar.gz::https://github.com/asdf-vm/asdf/releases/download/v${pkgver}/asdf-v${pkgver}-linux-arm64.tar.gz"
sha256sums_i386=('f3ee5eb3089304fe5d3961174b045feaf2bf33afd6b232a10237dd5d607a7e03')
sha256sums_amd64=('7558f8b916fa461ea04b653fdb62fea01362720349e9ef3aa497bc7ef93d22ac')
sha256sums_arm64=('5394e85001a36dc792087069303fa66e08d0f67740448fcd68dded974aaadb77')

package() {
cd "asdf-${pkgver}"

local dst="${pkgdir}/opt/${pkgname}"
mkdir -p "${dst}"

cp -r bin lib asdf.elv asdf.fish asdf.nu asdf.sh defaults help.txt version.txt "${dst}"

local usrshare="${pkgdir}/usr/share"

local docdir="${usrshare}/doc/${pkgname}"
mkdir -p "${docdir}"
cp help.txt "${docdir}"

# https://aur.archlinux.org/packages/asdf-vm#comment-886293
find . \
-path ./.github \
-prune \
-o \
-name '*.md' \
-exec cp --parents '{}' "${docdir}" \;

install -Dm644 -t "${usrshare}/licenses/${pkgname}/" LICENSE

cd completions

install -Dm644 asdf.bash "${usrshare}/bash-completion/completions/asdf"
install -Dm644 asdf.fish "${usrshare}/fish/vendor_completions.d/asdf.fish"
install -Dm644 _asdf "${usrshare}/zsh/site-functions/_asdf"
install -Dm755 "asdf" "${pkgdir}/usr/bin/asdf"
}

post_install() {
cat << EOF
Add the following line to your .bashrc or .profile:
. /opt/asdf-vm/asdf.sh
asdf-vm ${pkgver} installed!
NOTICE!:
Version 0.16.0 brought breaking changes.
Please see the official instructions for more information [0].
Don't forget to run 'asdf reshim' after you're done to adjust your shims to
the new version.
For more information see the official instructions [0].
Especially the section titled "YOUR_SHELL & Pacman".
[0] https://asdf-vm.com/guide/getting-started.html#_3-install-asdf
[0] https://asdf-vm.com/guide/upgrading-to-v0-16.html#breaking-changes
EOF
}
14 changes: 10 additions & 4 deletions srclist
Original file line number Diff line number Diff line change
Expand Up @@ -541,10 +541,12 @@ pkgbase = arduino-ide-bin
pkgname = arduino-ide-bin
---
pkgbase = asdf-vm
pkgver = 0.15.0
pkgver = 0.16.0
pkgdesc = Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more
url = https://asdf-vm.com
arch = any
arch = i386
arch = amd64
arch = arm64
depends = curl
depends = git
optdepends = build-essential: Array of tools to build software
Expand All @@ -554,8 +556,12 @@ pkgbase = asdf-vm
optdepends = unzip: Needed by some plugins, like Elixir
license = MIT
repology = project: asdf-vm
source = asdf-vm-0.15.0.tar.gz::https://github.com/asdf-vm/asdf/archive/v0.15.0.tar.gz
sha256sums = d0cafe61d27b5e3fcb53658821bfbf744fd040a8ea28b0e22277e032b8e8f7fe
source_i386 = asdf-vm-0.16.0-i386.tar.gz::https://github.com/asdf-vm/asdf/releases/download/v0.16.0/asdf-v0.16.0-linux-386.tar.gz
sha256sums_i386 = f3ee5eb3089304fe5d3961174b045feaf2bf33afd6b232a10237dd5d607a7e03
source_amd64 = asdf-vm-0.16.0-amd64.tar.gz::https://github.com/asdf-vm/asdf/releases/download/v0.16.0/asdf-v0.16.0-linux-amd64.tar.gz
sha256sums_amd64 = 7558f8b916fa461ea04b653fdb62fea01362720349e9ef3aa497bc7ef93d22ac
source_arm64 = asdf-vm-0.16.0-arm64.tar.gz::https://github.com/asdf-vm/asdf/releases/download/v0.16.0/asdf-v0.16.0-linux-arm64.tar.gz
sha256sums_arm64 = 5394e85001a36dc792087069303fa66e08d0f67740448fcd68dded974aaadb77

pkgname = asdf-vm
---
Expand Down

0 comments on commit c2e67ca

Please sign in to comment.