aur PKGBUILD & chocolatey VERIFICATION.txt update for version 1.2.0

This commit is contained in:
Kingkor Roy Tirtho 2022-02-08 10:51:15 +06:00
parent 14724428c9
commit 799919d538
3 changed files with 8 additions and 5 deletions

View File

@ -7,6 +7,6 @@ pkgbase = spotube-bin
license = BSD-4-Clause license = BSD-4-Clause
depends = libkeybinder3 depends = libkeybinder3
source = https://github.com/KRTirtho/spotube/releases/download/v1.2.0/Spotube-linux-x86_64.tar.xz source = https://github.com/KRTirtho/spotube/releases/download/v1.2.0/Spotube-linux-x86_64.tar.xz
md5sums = 0db87627ddf753bc7f09ebbb282184ee md5sums = f49d21ef00c7d43eb70e7e9b2a7103c1
pkgname = spotube-bin pkgname = spotube-bin

View File

@ -21,16 +21,19 @@ install=
changelog= changelog=
source=("https://github.com/KRTirtho/spotube/releases/download/v${pkgver}/Spotube-linux-x86_64.tar.xz") source=("https://github.com/KRTirtho/spotube/releases/download/v${pkgver}/Spotube-linux-x86_64.tar.xz")
noextract=() noextract=()
md5sums=(0db87627ddf753bc7f09ebbb282184ee) md5sums=(f49d21ef00c7d43eb70e7e9b2a7103c1)
validpgpkeys=() validpgpkeys=()
package(){ package(){
install -dm755 "${pkgdir}/usr/share/icons/${pkgname}" install -dm755 "${pkgdir}/usr/share/icons/${pkgname}"
install -dm755 "${pkgdir}/usr/share/applications" install -dm755 "${pkgdir}/usr/share/applications"
install -dm755 "${pkgdir}/usr/share/appdata"
install -dm755 "${pkgdir}/usr/share/${pkgname}" install -dm755 "${pkgdir}/usr/share/${pkgname}"
install -dm755 "${pkgdir}/usr/bin" install -dm755 "${pkgdir}/usr/bin"
cp -ra ./ "${pkgdir}/usr/share/${pkgname}" cp -ra ./ "${pkgdir}/usr/share/${pkgname}"
cp ./spotube.desktop "${pkgdir}/usr/share/applications" cp ./spotube.desktop "${pkgdir}/usr/share/applications"
cp ./spotube-logo.png "${pkgdir}/usr/share/icons/${pkgname}" cp ./spotube-logo.png "${pkgdir}/usr/share/icons/${pkgname}"
cp ./com.github.KRTirtho.Spotube.appdata.xml "${pkgdir}/usr/share/appdata/spotube.appdata.xml"
sed -i 's|com.github.KRTirtho.Spotube|spotube|' "${pkgdir}/usr/share/appdata/spotube.appdata.xml"
ln -s "/usr/share/${pkgname}/spotube" "${pkgdir}/usr/bin/${pkgname}" ln -s "/usr/share/${pkgname}/spotube" "${pkgdir}/usr/bin/${pkgname}"
} }

View File

@ -7,7 +7,7 @@ in verifying that this package's contents are trustworthy.
Please go to releases page Please go to releases page
https://github.com/KRTirtho/spotube/releases https://github.com/KRTirtho/spotube/releases
Download same version as this choco package (example for v1.1.0) Download same version as this choco package (example for v1.2.0)
https://github.com/KRTirtho/spotube/releases/tag/v1.0.1 https://github.com/KRTirtho/spotube/releases/tag/v1.0.1
1. get hashes. Run: 1. get hashes. Run:
@ -15,9 +15,9 @@ powershell -command Get-FileHash tools\Spotube-windows-x86_64-setup.exe
2. The checksums should match the following: 2. The checksums should match the following:
--- ---
Version Hashes for v1.1.0 Version Hashes for v1.2.0
Algorithm Hash Path Algorithm Hash Path
--------- ---- ---- --------- ---- ----
SHA256 144fb4170b424ae9ecee8941354244cb9744c0913fdc69f730a8b5e40e56753d tools\Spotube-windows-x86_64-setup.exe SHA256 02c032e1a2b8f60969b7a65c6a5e21df2bf5834cc8d8062cf56a2c8245a2a90e tools\Spotube-windows-x86_64-setup.exe