diff --git a/srcpkgs/pdd/patches/fix-install.patch b/srcpkgs/pdd/patches/fix-install.patch new file mode 100644 index 00000000000..7b24695f75b --- /dev/null +++ b/srcpkgs/pdd/patches/fix-install.patch @@ -0,0 +1,21 @@ +--- a/Makefile ++++ b/Makefile +@@ -22,15 +22,15 @@ + install-completions: install-bash-completion install-zsh-completion install-fish-completion + + install-bash-completion: +- install -m644 auto-completion/bash/pdd.bash $(PREFIX)/share/bash-completion/compilations/pdd ++ install -D -m644 auto-completion/bash/pdd.bash $(DESTDIR)$(PREFIX)/share/bash-completion/completions/pdd + + install-fish-completion: +- install -m644 auto-completion/fish/pdd.fish -t $(PREFIX)/share/fish/vendor_completions.d ++ install -D -m644 auto-completion/fish/pdd.fish -t $(DESTDIR)$(PREFIX)/share/fish/vendor_completions.d + + install-zsh-completion: + cp pdd pdd.py + auto-completion/zsh/zsh_completion.py +- install -m644 _pdd -t $(PREFIX)/share/zsh/site-functions ++ install -D -m644 _pdd -t $(DESTDIR)$(PREFIX)/share/zsh/site-functions + + uninstall: + rm -f $(BINDIR)/pdd diff --git a/srcpkgs/pdd/template b/srcpkgs/pdd/template index dccea79e32c..d94c4f42297 100644 --- a/srcpkgs/pdd/template +++ b/srcpkgs/pdd/template @@ -1,6 +1,6 @@ # Template file for 'pdd' pkgname=pdd -version=1.6 +version=1.7 revision=1 build_style=gnu-makefile depends="python3-dateutil" @@ -11,4 +11,4 @@ license="GPL-3.0-or-later" homepage="https://github.com/jarun/pdd" changelog="https://raw.githubusercontent.com/jarun/pdd/master/CHANGELOG" distfiles="https://github.com/jarun/pdd/archive/v${version}.tar.gz" -checksum=607fe77b0faf3f50301971120bad01da571c9107151a5344523ee38055649267 +checksum=a81adcac025b08c7c933f028339c55a67d0da6c81845fe3d18fd4187010a63d4