diff options
author | Carl Smedstad | 2024-04-15 12:55:16 +0200 |
---|---|---|
committer | Carl Smedstad | 2024-04-15 12:55:16 +0200 |
commit | d80ec84eebd6390e31b3a8941be260b528ed87e1 (patch) | |
tree | e036e9768c62e6a3b88a80edeaf556c0418e83d7 /PKGBUILD | |
parent | 9a47b26c2983358392fe441e7e8027364a358918 (diff) | |
download | aur-d80ec84eebd6390e31b3a8941be260b528ed87e1.tar.gz |
upgpkg: 7.4.2-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 17 |
1 files changed, 7 insertions, 10 deletions
@@ -1,11 +1,11 @@ -# Maintainer: Carl Smedstad <carl.smedstad at protonmail dot com> +# Maintainer: Carl Smedstad <carsme@archlinux.org> # Maintainer: Kyle Sferrazza <kyle.sferrazza@gmail.com> # Contributor: Tomasz Hamerla <tomasz.hamerla@outlook.com> pkgname=powershell-bin _pkgname=${pkgname%-bin} -pkgver=7.4.1 -pkgrel=2 +pkgver=7.4.2 +pkgrel=1 pkgdesc="A cross-platform automation and configuration tool/framework (binary package)" arch=(x86_64 armv7h aarch64) url="https://github.com/Powershell/Powershell" @@ -19,18 +19,15 @@ optdepends=('lttng-ust2.12: CoreCLR tracing') provides=(powershell) conflicts=(powershell) install=powershell.install -options=(staticlibs) - _archive="$pkgname-$pkgver-$pkgrel" _artifact="$_archive.tar.gz" - source_armv7h=("$_artifact::$url/releases/download/v$pkgver/powershell-$pkgver-linux-arm32.tar.gz") source_aarch64=("$_artifact::$url/releases/download/v$pkgver/powershell-$pkgver-linux-arm64.tar.gz") source_x86_64=("$_artifact::$url/releases/download/v$pkgver/powershell-$pkgver-linux-x64.tar.gz") noextract=("$_artifact") -sha256sums_x86_64=('8beabac4431b75e9b67c6d9fafd8b02cc019f21f230ea3d94aec1348c50529d3') -sha256sums_armv7h=('ba66844392026779145c10a72d9b9096fe9f71f196aecffce45678c25d37c007') -sha256sums_aarch64=('719c11544a1f6322f2c58f5591ff7abb7768aef97ef0a382e3711f89fa2ade22') +sha256sums_x86_64=('36605dc37979de5af2e10783bf70c0ad8150521e81e6d7c9322036ebb897e7fe') +sha256sums_armv7h=('6bf11145e6d15ea8a89d9167bdcef0d75848462e4369c837fda37a6550d2dc5f') +sha256sums_aarch64=('006021694a9e0ce962457d23189e3cb88ae030863b221907f8fb891df9497aeb') prepare() { mkdir -p "$_archive" @@ -43,7 +40,7 @@ package() { local pkgnum=${pkgver:0:1} install -dm755 "$pkgdir/usr/lib/$_pkgname-$pkgnum" - cp --archive -t "$pkgdir/usr/lib/$_pkgname-$pkgnum" ./* + cp -a -t "$pkgdir/usr/lib/$_pkgname-$pkgnum" ./* install -dm755 "$pkgdir/usr/bin" ln -s "/usr/lib/$_pkgname-$pkgnum/pwsh" "$pkgdir/usr/bin/pwsh" |