summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRhinoceros2022-03-08 20:57:43 +1100
committerRhinoceros2022-03-08 20:57:43 +1100
commit92ac4c2bd9067eea2db48e1ae218aaf0c3abbd41 (patch)
tree8029e25ac6cef2028531749d1ed7fe854976ad01
parent4e9e9c57f3b6fa29a3bdbfdd9d376f637e1b9dcc (diff)
downloadaur-92ac4c2bd9067eea2db48e1ae218aaf0c3abbd41.tar.gz
Update to r11-2
* Patch to fix [issue](https://github.com/knu/zsh-manydots-magic/issues/2#issuecomment-1042564240)
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD14
2 files changed, 14 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ebf4d12b16f3..987ffa829749 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,15 @@
-# Generated by mksrcinfo v8
-# Mon Jun 19 10:04:47 UTC 2017
pkgbase = zsh-manydots-magic
pkgdesc = zsh zle tweak for emulating `...'==`../..', etc.
pkgver = r11
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/knu/zsh-manydots-magic
arch = any
license = custom:BSD 2-clause
makedepends = git
depends = zsh
source = git+https://github.com/knu/zsh-manydots-magic.git#commit=4372de0718714046f0c7ef87b43fc0a598896af6
+ source = https://github.com/twang817/zsh-manydots-magic/commit/6525d31436fd3ea9ca0de877c7dccc5763f41e46.patch
sha256sums = SKIP
+ sha256sums = e7fb525d7774b380a402355c5b3332f8f8761ecad3cd8ad94a22dda21f67c5d1
pkgname = zsh-manydots-magic
-
diff --git a/PKGBUILD b/PKGBUILD
index d5dece66b46f..72e78f96214e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,15 +3,23 @@
pkgname=zsh-manydots-magic
pkgver=r11
_commit=4372de0718714046f0c7ef87b43fc0a598896af6
-pkgrel=1
+pkgrel=2
pkgdesc="zsh zle tweak for emulating \`...'==\`../..', etc."
arch=('any')
url='https://github.com/knu/zsh-manydots-magic'
license=('custom:BSD 2-clause')
depends=('zsh')
makedepends=('git')
-source=("git+https://github.com/knu/${pkgname%-git}.git#commit=$_commit")
-sha256sums=('SKIP')
+source=("git+https://github.com/knu/${pkgname%-git}.git#commit=$_commit"
+ 'https://github.com/twang817/zsh-manydots-magic/commit/6525d31436fd3ea9ca0de877c7dccc5763f41e46.patch')
+sha256sums=('SKIP'
+ 'e7fb525d7774b380a402355c5b3332f8f8761ecad3cd8ad94a22dda21f67c5d1')
+
+prepare() {
+ cd "$pkgname"
+ # Fix https://github.com/knu/zsh-manydots-magic/issues/2#issuecomment-1042564240
+ patch -p1 -i "$srcdir/6525d31436fd3ea9ca0de877c7dccc5763f41e46.patch"
+}
package() {
install -Dm644 ${pkgname%-git}/manydots-magic -t "$pkgdir/usr/share/zsh/functions/Zle"