2023-02-20 15:31:36 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
VERSION=$1
|
|
|
|
|
|
|
|
CHECKSUMS=`wget https://github.com/binwiederhier/ntfy/releases/download/v$VERSION/checksums.txt -q -O -`
|
|
|
|
|
|
|
|
src() {
|
|
|
|
cat << SH > conf/$1.src
|
|
|
|
SOURCE_URL=https://github.com/binwiederhier/ntfy/releases/download/v${VERSION}/ntfy_${VERSION}_linux_${2}.tar.gz
|
|
|
|
SOURCE_SUM=`echo "$CHECKSUMS" | grep ${VERSION}_linux_${2}.tar.gz | cut -d " " -f 1`
|
|
|
|
SOURCE_SUM_PRG=sha256sum
|
|
|
|
SOURCE_FORMAT=tar.gz
|
|
|
|
SOURCE_IN_SUBDIR=true
|
|
|
|
SOURCE_FILENAME=ntfy_${VERSION}_linux_${2}
|
|
|
|
SH
|
|
|
|
}
|
|
|
|
|
2023-07-03 09:06:36 +02:00
|
|
|
src amd64 amd64
|
2023-02-20 15:31:36 +01:00
|
|
|
src arm64 arm64
|
|
|
|
src armhf armv7
|