Finalize AUR deskify-bin PKGBUILD checksums
This commit is contained in:
6
packaging/PKGBUILD
Executable file → Normal file
6
packaging/PKGBUILD
Executable file → Normal file
@@ -13,12 +13,10 @@ _tag="v0.1.0-alpha.6"
|
||||
source=("deskify::https://github.com/spalencsar/deskify/releases/download/${_tag}/deskify-linux-x86_64"
|
||||
"LICENSE::https://raw.githubusercontent.com/spalencsar/deskify/${_tag}/LICENSE")
|
||||
|
||||
# TODO: replace SKIP with the real sha256 once the release asset is finalized.
|
||||
sha256sums=('SKIP'
|
||||
'SKIP')
|
||||
sha256sums=('6962571579b32fcf3119d0d749770b584ce57ef1efe4feea8813314d2ed61d7a'
|
||||
'd4e53458cd2dd461f234186497b6d9b21566c477737a4d31fa6f018ef610486f')
|
||||
|
||||
package() {
|
||||
install -Dm755 "${srcdir}/deskify" "${pkgdir}/usr/bin/deskify"
|
||||
install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
}
|
||||
|
||||
|
||||
10
packaging/README.md
Executable file → Normal file
10
packaging/README.md
Executable file → Normal file
@@ -6,8 +6,8 @@ This folder contains a minimal `PKGBUILD` template for a future AUR package:
|
||||
|
||||
Notes:
|
||||
|
||||
- `sha256sums` are currently set to `SKIP` and should be replaced with real checksums before publishing to AUR.
|
||||
- Update `_tag` and `pkgver` when you publish a new release tag.
|
||||
- Update `sha256sums` to match the release asset + LICENSE for that tag.
|
||||
|
||||
Local build test:
|
||||
|
||||
@@ -16,3 +16,11 @@ cd packaging
|
||||
makepkg -sf
|
||||
```
|
||||
|
||||
To compute sha256 sums for a tag:
|
||||
|
||||
```bash
|
||||
TAG="v0.1.0-alpha.6"
|
||||
curl -fL -o /tmp/deskify-linux-x86_64 "https://github.com/spalencsar/deskify/releases/download/${TAG}/deskify-linux-x86_64"
|
||||
curl -fL -o /tmp/LICENSE "https://raw.githubusercontent.com/spalencsar/deskify/${TAG}/LICENSE"
|
||||
sha256sum /tmp/deskify-linux-x86_64 /tmp/LICENSE
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user