diff --git a/srcpkgs/git-extras/template b/srcpkgs/git-extras/template index 749b7c1291..e84f4cd981 100644 --- a/srcpkgs/git-extras/template +++ b/srcpkgs/git-extras/template @@ -1,10 +1,8 @@ # Template file for 'git-extras' pkgname=git-extras version=6.0.0 -revision=1 -archs=noarch +revision=2 build_style=gnu-makefile -hostmakedepends="util-linux" depends="bash git" short_desc="Little git extras" maintainer="Orphaned " @@ -13,8 +11,10 @@ homepage="https://github.com/tj/git-extras" distfiles="https://github.com/tj/git-extras/archive/${version}.tar.gz" checksum=a823c12e4bf74e2f07ee80e597500e5f5120dcd8fa345e67e2c03544fd706ffe -pre_build() { - sed -i 's|$(SYSCONFDIR)/bash_completion.d|/usr/share/bash-completion/completions|' Makefile +post_patch() { + vsed -i 's|$(SYSCONFDIR)/bash_completion.d|/usr/share/bash-completion/completions|' Makefile + rm -f check_dependencies.sh + ln -s /bin/true check_dependencies.sh } post_install() {