summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSukanka2020-08-08 17:18:08 +0800
committerSukanka2020-08-08 17:18:08 +0800
commita88d3bf38ecaf93a662f6c99a57f531367492624 (patch)
tree2867747e0078dbdcc8a89a34e2973a0476d12a0d
parent99dae71a03992008691e9e7a9422bec0d1b5996c (diff)
downloadaur-a88d3bf38ecaf93a662f6c99a57f531367492624.tar.gz
update to version 02.05.0017
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD18
2 files changed, 10 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index af4a16e0193f..581e64133a6d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = mathpix-snipping-tool
pkgdesc = Mathpix Snipping Tool
- pkgver = 02.04.0002
+ pkgver = 02.05.0017
pkgrel = 1
url = https://snapcraft.io/mathpix-snipping-tool
arch = x86_64
@@ -8,8 +8,8 @@ pkgbase = mathpix-snipping-tool
makedepends = squashfs-tools
depends = qt5-x11extras
depends = qt5-webkit
- source = https://api.snapcraft.io/api/v1/snaps/download/jnlZEYdmdXGhh6oJTtMsawNGZzEWmMhk_155.snap
- sha512sums = 15490f2a151abc89f08e14dbecf049ad45eedbd1b05d7616b66c69eadf1873c7e5857745518bafd7ad40b9a8472d53a201d571d2124907874c7c3651ba6dd788
+ source = https://api.snapcraft.io/api/v1/snaps/download/jnlZEYdmdXGhh6oJTtMsawNGZzEWmMhk_172.snap
+ sha512sums = a99dfed345e8cf6f396525842583b2b454971d7e112182632728cb66c948e2c9d383b2fa0348f9f4e23105bcdc0eab84644d7d4dfda86c9e11de39994f41edb8
pkgname = mathpix-snipping-tool
diff --git a/PKGBUILD b/PKGBUILD
index b3e1af09e3d2..962a1bf401ed 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,24 +1,20 @@
# Maintainer: sukanka <su975853527 at gmail.com>
# Contributor: HRKo <ootaharuki99 at gmail.com>
-
-
pkgname=mathpix-snipping-tool
-pkgver=02.04.0002
-snap_ver=155
+pkgver=02.05.0017
+_snapver=172
pkgrel=1
pkgdesc="Mathpix Snipping Tool"
arch=('x86_64')
url="https://snapcraft.io/mathpix-snipping-tool"
license=('unknown')
-makedepends=('squashfs-tools')
depends=('qt5-x11extras' 'qt5-webkit')
-source=("https://api.snapcraft.io/api/v1/snaps/download/jnlZEYdmdXGhh6oJTtMsawNGZzEWmMhk_${snap_ver}.snap")
-sha512sums=(
-"15490f2a151abc89f08e14dbecf049ad45eedbd1b05d7616b66c69eadf1873c7e5857745518bafd7ad40b9a8472d53a201d571d2124907874c7c3651ba6dd788"
-)
+makedepends=('squashfs-tools')
+source=("https://api.snapcraft.io/api/v1/snaps/download/jnlZEYdmdXGhh6oJTtMsawNGZzEWmMhk_${_snapver}.snap")
+sha512sums=('a99dfed345e8cf6f396525842583b2b454971d7e112182632728cb66c948e2c9d383b2fa0348f9f4e23105bcdc0eab84644d7d4dfda86c9e11de39994f41edb8')
-## run these to get the source URL and the version
+## run these to get the source URL and the version, require jq
# curl -H 'X-Ubuntu-Series: 16' https://api.snapcraft.io/api/v1/snaps/details/mathpix-snipping-tool | jq '.download_url' -r
@@ -26,7 +22,7 @@ sha512sums=(
prepare() {
cd $srcdir
- unsquashfs -f "jnlZEYdmdXGhh6oJTtMsawNGZzEWmMhk_${snap_ver}.snap" /usr/bin/mathpix-snipping-tool \
+ unsquashfs -f "jnlZEYdmdXGhh6oJTtMsawNGZzEWmMhk_${_snapver}.snap" /usr/bin/mathpix-snipping-tool \
/meta/gui/mathpix-snipping-tool.desktop \
/meta/gui/icon.svg
sed 's|${SNAP}/meta/gui/icon.svg|mathpix-snipping-tool|g' -i squashfs-root/meta/gui/mathpix-snipping-tool.desktop