mirror of
https://github.com/SinTan1729/aur-packages.git
synced 2024-12-25 23:58:36 -06:00
Bumped topgrade version to 11.0.0
This commit is contained in:
parent
389bd60710
commit
7fc1875148
1 changed files with 7 additions and 9 deletions
|
@ -1,8 +1,8 @@
|
|||
# Maintainer: Sintan Santorum <c1scu0hh at anonaddy dot me>
|
||||
pkgname="topgrade-bin"
|
||||
_pkgname="topgrade"
|
||||
pkgver=10.3.3
|
||||
pkgrel=2
|
||||
pkgver=11.0.0
|
||||
pkgrel=1
|
||||
pkgdesc="Invoke the upgrade procedure of multiple package managers"
|
||||
arch=('x86_64' 'aarch64' 'armv7h')
|
||||
url='https://github.com/topgrade-rs/topgrade'
|
||||
|
@ -12,15 +12,12 @@ conflicts=('topgrade')
|
|||
source_x86_64=("topgrade_x86_64-$pkgver.tar.gz::$url/releases/download/v$pkgver/$_pkgname-v$pkgver-x86_64-unknown-linux-musl.tar.gz")
|
||||
source_aarch64=("topgrade_aarch64-$pkgver.tar.gz::$url/releases/download/v$pkgver/$_pkgname-v$pkgver-aarch64-unknown-linux-musl.tar.gz")
|
||||
source_armv7h=("topgrade_armv7h-$pkgver.tar.gz::$url/releases/download/v$pkgver/$_pkgname-v$pkgver-armv7-unknown-linux-gnueabihf.tar.gz")
|
||||
b2sums_x86_64=('04d958508bfe975ca71863d13dd9cd733d707ff2154c918553700178062c55f801631c4f1ce82776826e6bfe3bcb2ebad8c8bcab9cccc3757bfdab462fd5bc78')
|
||||
b2sums_aarch64=('96c34b2da0a97451e0d090065b20567a3b1ddc2fd3d38c49d979d155364f9fdc33e978d999fc007093815a35fe3cb6e0e644e49c93c898a35d0e7661ca71e826')
|
||||
b2sums_armv7h=('97e2d84180cf6a2910c3b46d905777f48c849f5386d7dba386fd71d0116eb6b6e0b3cd85dc6db00d54b2d799cde40098e227a7070f91df5ce5be084835086f27')
|
||||
b2sums_x86_64=('fd3141a0ddb93f7fd4320fc8c55e2bfa0a1c83b59d2e5fe644a65e9aca18c712ec30a3585e8fa24e10da76b48e0ec05a05c487069defa934dce52f2652b00ee0')
|
||||
b2sums_aarch64=('c54345794ffb70d4a9ee396b53f15359a4868aabb606dab9b8d3422b8ba22284999ff57a25132b853b988d2a6523e7cbd6e6e1158f9e103a80378a8002dbd5f0')
|
||||
b2sums_armv7h=('2c06eb67cde6842f676f47bdc6d890ff9f182802b16f6b06754a56ff8d37005b05dd0d68e2a027c4a44ddb1b28144583fece947c097f3c07cbd0beb33917390a')
|
||||
package() {
|
||||
# disable self-update as it won't work
|
||||
echo '#!/bin/sh'$'\n\n''TOPGRADE_NO_SELF_UPGRADE=true /opt/topgrade/topgrade "$@"' >topgrade-sh
|
||||
# install binary
|
||||
install -Dm755 ./topgrade "$pkgdir/opt/topgrade/topgrade"
|
||||
install -Dm755 ./topgrade-sh "$pkgdir/usr/local/bin/topgrade"
|
||||
install -Dm755 ./topgrade "$pkgdir/usr/local/bin/topgrade"
|
||||
# manpage
|
||||
./topgrade --gen-manpage | sed 's/.TH Topgrade 1/.TH Topgrade 8/' >topgrade.8
|
||||
install -Dm644 ./topgrade.8 "$pkgdir/usr/local/man/man8/topgrade.8"
|
||||
|
@ -37,4 +34,5 @@ package() {
|
|||
./topgrade --gen-completion zsh >topgrade.zsh
|
||||
install -Dm644 ./topgrade.zsh "${pkgdir}/usr/share/zsh/site-functions/_topgrade"
|
||||
fi
|
||||
# "Please add 'no_self_update = true' to your 'topgrade.toml' file to disable self updates, as it won't work with this installation"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue