git-extras: remove noarch, stop breaking masterdir

This commit is contained in:
Đoàn Trần Công Danh 2020-10-25 19:36:06 +07:00
parent 2a9f5bf675
commit 7e743b9894

View file

@ -1,10 +1,8 @@
# Template file for 'git-extras' # Template file for 'git-extras'
pkgname=git-extras pkgname=git-extras
version=6.0.0 version=6.0.0
revision=1 revision=2
archs=noarch
build_style=gnu-makefile build_style=gnu-makefile
hostmakedepends="util-linux"
depends="bash git" depends="bash git"
short_desc="Little git extras" short_desc="Little git extras"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Orphaned <orphan@voidlinux.org>"
@ -13,8 +11,10 @@ homepage="https://github.com/tj/git-extras"
distfiles="https://github.com/tj/git-extras/archive/${version}.tar.gz" distfiles="https://github.com/tj/git-extras/archive/${version}.tar.gz"
checksum=a823c12e4bf74e2f07ee80e597500e5f5120dcd8fa345e67e2c03544fd706ffe checksum=a823c12e4bf74e2f07ee80e597500e5f5120dcd8fa345e67e2c03544fd706ffe
pre_build() { post_patch() {
sed -i 's|$(SYSCONFDIR)/bash_completion.d|/usr/share/bash-completion/completions|' Makefile 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() { post_install() {