diff options
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 10 | ||||
-rwxr-xr-x | makeSmath.sh | 12 |
3 files changed, 16 insertions, 14 deletions
@@ -1,7 +1,7 @@ pkgbase = smath pkgdesc = A mathematical program with many features and paper-like interface, similar to Mathcad - pkgver = 0_99_6884 - pkgrel = 1 + pkgver = 0_99_6670 + pkgrel = 2 url = http://smath.info install = smath.install arch = i686 @@ -10,8 +10,8 @@ pkgbase = smath license = CCPL depends = mono backup = opt/smath/settings.inf - source = https://smath.info/file/4zx2Q/SMathStudioDesktop.0_99_6884.mono.tar.gz - md5sums = b9795dcb28a5f83c4d139433de090865 + source = https://smath.com/file/XTRcr/SMathStudioDesktop.0_99_6670.mono.tar.gz + md5sums = 930590f3550d88ab2c0f9a71cd365645 pkgname = smath @@ -8,10 +8,10 @@ # http://smath.info pkgname=smath -pkgver=0_99_6884 -pkgrel=1 +pkgver=0_99_6670 +pkgrel=2 pkgdesc="A mathematical program with many features and paper-like interface, similar to Mathcad" -_pkgcode=4zx2Q +_pkgcode=XTRcr arch=('i686' 'x86_64') url="http://smath.info" license=('CCPL') @@ -19,8 +19,8 @@ groups=('math') depends=('mono') install=smath.install backup=(opt/$pkgname/settings.inf) -source=("https://smath.info/file/${_pkgcode}/SMathStudioDesktop.${pkgver}.mono.tar.gz") -md5sums=('b9795dcb28a5f83c4d139433de090865') +source=("https://smath.com/file/${_pkgcode}/SMathStudioDesktop.${pkgver}.mono.tar.gz") +md5sums=('930590f3550d88ab2c0f9a71cd365645') DLAGENTS=("https::/usr/bin/wget --post-data RefMem=&PostBack=${_pkgcode} %u") package() { diff --git a/makeSmath.sh b/makeSmath.sh index 0f75e57d2995..da177b5ca999 100755 --- a/makeSmath.sh +++ b/makeSmath.sh @@ -2,23 +2,25 @@ _pkgcode=XTRcr pkgver=0_99_6670 +pkgrel=2 -wget --post-data "RefMem=&PostBack=${_pkgcode}" https://smath.info/file/${_pkgcode}/SMathStudioDesktop.${pkgver}.mono.tar.gz +wget --post-data "RefMem=&PostBack=${_pkgcode}" https://smath.com/file/${_pkgcode}/SMathStudioDesktop.${pkgver}.mono.tar.gz _pkgmd5sum=$(md5sum SMathStudioDesktop.${pkgver}.mono.tar.gz |awk '{ print $1 }') # echo ${_pkgmd5sum} sed -i "11s/.*/pkgver=${pkgver}/" PKGBUILD +sed -i "12s/.*/pkgrel=${pkgrel}/" PKGBUILD sed -i "14s/.*/_pkgcode=${_pkgcode}/" PKGBUILD sed -i "23s/.*/md5sums=\(\'${_pkgmd5sum}\'\)/" PKGBUILD rm SMathStudioDesktop.${pkgver}.mono.tar.gz -#makepkg --printsrcinfo > .SRCINFO +makepkg --printsrcinfo > .SRCINFO #First do the git commit by hand -# git add PKGBUILD .SRCINFO -# git commit -m "Update to ${pkgver}" +git add PKGBUILD .SRCINFO +#git commit -m "Update to ${pkgver} rel=${pkgrel}" # git push -echo "Finished updating the SMATH package to ${pkgver}" +echo "Finished updating the SMATH package to ${pkgver}-rel=${pkgrel}" |