summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Yang2021-03-27 08:10:43 -0500
committerTim Yang2021-03-27 08:10:43 -0500
commit0940d6f4a1340916912b7a3de7946016c218fb06 (patch)
treee8e824f8db7edb302575d4b3f4cd79109541273c
parent161a9c840c31436207eda69a5e805f073783ab07 (diff)
downloadaur-0940d6f4a1340916912b7a3de7946016c218fb06.tar.gz
Fix checksum; add $pkgver to local filename
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dc55d11b6bbc..61683aab4719 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -9,8 +9,8 @@ pkgbase = gnome-shell-extension-x11gestures
depends = gnome-shell
depends = touchegg
noextract = x11gestures@joseexposito.github.io.zip
- source = https://github.com/JoseExposito/gnome-shell-extension-x11gestures/releases/download/6/x11gestures@joseexposito.github.io.zip
- sha256sums = 065cd60ae902a5f020b020e01d718870ca508f9a111e88ff7d439a930bf393b2
+ source = x11gestures@joseexposito.github.io-6.zip::https://github.com/JoseExposito/gnome-shell-extension-x11gestures/releases/download/6/x11gestures@joseexposito.github.io.zip
+ sha256sums = 09989eea5902622f9f90f44409931232617527ae1a7472283b740af289964a24
pkgname = gnome-shell-extension-x11gestures
diff --git a/PKGBUILD b/PKGBUILD
index 5ca727fe4f19..9d676572741d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,12 +10,12 @@ url=https://github.com/JoseExposito/$pkgname
license=(GPL)
depends=(gnome-shell touchegg)
install=$pkgname.install
-source=(https://github.com/JoseExposito/$pkgname/releases/download/$pkgver/$_uuid.zip)
+source=($_uuid-$pkgver.zip::https://github.com/JoseExposito/$pkgname/releases/download/$pkgver/$_uuid.zip)
noextract=($_uuid.zip)
-sha256sums=(065cd60ae902a5f020b020e01d718870ca508f9a111e88ff7d439a930bf393b2)
+sha256sums=(09989eea5902622f9f90f44409931232617527ae1a7472283b740af289964a24)
package() {
- bsdtar -xf "$srcdir"/$_uuid.zip \
+ bsdtar -xf "$srcdir"/$_uuid-$pkgver.zip \
-C "$pkgdir" \
-s ":^:usr/share/gnome-shell/extensions/$_uuid/:"