mirror of
https://github.com/archlinux/aur.git
synced 2026-02-10 06:54:23 +01:00
add md5
This commit is contained in:
parent
0a1af60d99
commit
90790ca6d2
3 changed files with 9 additions and 5 deletions
4
.SRCINFO
4
.SRCINFO
|
|
@ -1,7 +1,7 @@
|
|||
pkgbase = speedifyui
|
||||
pkgdesc = Use multiple internet connections in parallel
|
||||
pkgver = 12.4.1.10609
|
||||
pkgrel = 0
|
||||
pkgrel = 1
|
||||
url = https://speedify.com/
|
||||
arch = x86_64
|
||||
arch = aarch64
|
||||
|
|
@ -11,7 +11,7 @@ pkgbase = speedifyui
|
|||
depends = libayatana-appindicator
|
||||
depends = webkit2gtk
|
||||
source_x86_64 = http://apt.connectify.me/pool/main/s/speedifyui/speedifyui_12.4.1-10609_amd64.deb
|
||||
md5sums_x86_64 = SKIP
|
||||
md5sums_x86_64 = 748e9d8d04642a605c7bb01d965c7251
|
||||
source_aarch64 = http://apt.connectify.me/pool/main/s/speedifyui/speedifyui_12.4.1-10609_arm64.deb
|
||||
md5sums_aarch64 = SKIP
|
||||
source_armv7h = http://apt.connectify.me/pool/main/s/speedifyui/speedifyui_12.4.1-10609_armhf.deb
|
||||
|
|
|
|||
4
PKGBUILD
4
PKGBUILD
|
|
@ -2,7 +2,7 @@
|
|||
pkgname=speedifyui
|
||||
_pkgver=12.4.1-10609
|
||||
pkgver=${_pkgver/-/.}
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="Use multiple internet connections in parallel"
|
||||
arch=('x86_64' 'aarch64' 'armv7h')
|
||||
url="https://speedify.com/"
|
||||
|
|
@ -21,7 +21,7 @@ source_x86_64=(http://apt.connectify.me/pool/main/${pkgname:0:1}/${pkgname}/${pk
|
|||
source_aarch64=(http://apt.connectify.me/pool/main/${pkgname:0:1}/${pkgname}/${pkgname}_${_pkgver}_arm64.deb)
|
||||
source_armv7h=(http://apt.connectify.me/pool/main/${pkgname:0:1}/${pkgname}/${pkgname}_${_pkgver}_armhf.deb)
|
||||
# TODO: i386 is also supported
|
||||
md5sums_x86_64=('SKIP')
|
||||
md5sums_x86_64=('748e9d8d04642a605c7bb01d965c7251')
|
||||
md5sums_aarch64=('SKIP')
|
||||
md5sums_armv7h=('SKIP')
|
||||
|
||||
|
|
|
|||
|
|
@ -1,10 +1,14 @@
|
|||
NVERSION=`curl https://apt.connectify.me/dists/speedify/main/binary-amd64/Packages|grep Version|head -1|cut -d" " -f2`
|
||||
PKG=`curl https://apt.connectify.me/dists/speedify/main/binary-amd64/Packages`
|
||||
NVERSION=`echo "$PKG"|grep speedifyui -A10|head -15|grep Version|head -1|cut -d" " -f2`
|
||||
CVERSION=`cat PKGBUILD |grep _pkgver=|cut -d= -f2`
|
||||
MD5=$(echo "$PKG"|grep speedifyui -A10|head -15|grep MD5sum|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/pkgrel=.*/pkgrel=0/" PKGBUILD
|
||||
#to see if it build
|
||||
makepkg
|
||||
makepkg --printsrcinfo > .SRCINFO
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue