mirror of
https://github.com/archlinux/aur.git
synced 2026-02-10 06:54:23 +01:00
add sha512
This commit is contained in:
parent
91100ae7fb
commit
8fe872d2d4
3 changed files with 6 additions and 4 deletions
4
.SRCINFO
4
.SRCINFO
|
|
@ -1,7 +1,7 @@
|
|||
pkgbase = speedify
|
||||
pkgdesc = Use multiple internet connections in parallel
|
||||
pkgver = 13.0.1.10802
|
||||
pkgrel = 0
|
||||
pkgrel = 1
|
||||
url = https://speedify.com/
|
||||
arch = x86_64
|
||||
arch = aarch64
|
||||
|
|
@ -10,9 +10,9 @@ pkgbase = speedify
|
|||
depends = lsof
|
||||
depends = net-tools
|
||||
provides = speedify
|
||||
replaces = speedify
|
||||
source_x86_64 = http://apt.connectify.me/pool/main/s/speedify/speedify_13.0.1-10802_amd64.deb
|
||||
md5sums_x86_64 = e4b1ede444e7bd124efc658b8a827048
|
||||
sha512sums_x86_64 = 2823d651d74a500a5639a04b40e52dba83f8051052e378be7d58ed5d7bae61ed2c0840fcefd00630bd949487d4b1cb0c17f851e0995afedc2cb0edfdb0e09a4d
|
||||
source_aarch64 = http://apt.connectify.me/pool/main/s/speedify/speedify_13.0.1-10802_arm64.deb
|
||||
md5sums_aarch64 = SKIP
|
||||
source_armv7h = http://apt.connectify.me/pool/main/s/speedify/speedify_13.0.1-10802_armhf.deb
|
||||
|
|
|
|||
4
PKGBUILD
4
PKGBUILD
|
|
@ -3,7 +3,7 @@
|
|||
pkgname=speedify
|
||||
_pkgver=13.0.1-10802
|
||||
pkgver=${_pkgver/-/.}
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="Use multiple internet connections in parallel"
|
||||
arch=('x86_64' 'aarch64' 'armv7h')
|
||||
url="https://speedify.com/"
|
||||
|
|
@ -12,7 +12,6 @@ groups=()
|
|||
depends=( lsof net-tools )
|
||||
makedepends=()
|
||||
provides=(speedify)
|
||||
replaces=(speedify)
|
||||
backup=()
|
||||
options=()
|
||||
install=
|
||||
|
|
@ -22,6 +21,7 @@ source_aarch64=(http://apt.connectify.me/pool/main/${pkgname:0:1}/${pkgname}/${p
|
|||
source_armv7h=(http://apt.connectify.me/pool/main/${pkgname:0:1}/${pkgname}/${pkgname}_${_pkgver}_armhf.deb)
|
||||
# TODO: i386 is also supported
|
||||
md5sums_x86_64=('e4b1ede444e7bd124efc658b8a827048')
|
||||
sha512sums_x86_64=('2823d651d74a500a5639a04b40e52dba83f8051052e378be7d58ed5d7bae61ed2c0840fcefd00630bd949487d4b1cb0c17f851e0995afedc2cb0edfdb0e09a4d')
|
||||
md5sums_aarch64=('SKIP')
|
||||
md5sums_armv7h=('SKIP')
|
||||
|
||||
|
|
|
|||
|
|
@ -2,12 +2,14 @@ PKG=`curl https://apt.connectify.me/dists/speedify/main/binary-amd64/Packages`
|
|||
NVERSION=`echo "$PKG"|grep Version|head -1|cut -d" " -f2`
|
||||
CVERSION=`cat PKGBUILD |grep _pkgver=|cut -d= -f2`
|
||||
MD5=$(echo "$PKG"|grep MD5sum|head -1|cut -d" " -f2)
|
||||
SHA5=$(echo "$PKG"|grep SHA512|head -1|cut -d" " -f2)
|
||||
|
||||
echo "Versions: '$NVERSION' '$CVERSION'"
|
||||
if [ $NVERSION != $CVERSION ]; then
|
||||
echo "Updating ..."
|
||||
sed -i "s/$CVERSION/$NVERSION/g" PKGBUILD
|
||||
sed -i "s/\(md5sums_x86_64=\).*/\1('$MD5')/" PKGBUILD
|
||||
sed -i "s/\(sha512sums_x86_64=\).*/\1('$SHA5')/" PKGBUILD
|
||||
sed -i "s/pkgrel=.*/pkgrel=0/" PKGBUILD
|
||||
#to see if it build
|
||||
makepkg
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue