From b379c8dc231196e8e621186660a6b2e224d243b4 Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Mon, 28 Sep 2020 19:52:37 +0200 Subject: [PATCH] fix: remove tar archive and use instead local files --- git-prompt/Makefile | 6 ------ git-prompt/PKGBUILD | 14 ++++++++++---- 2 files changed, 10 insertions(+), 10 deletions(-) delete mode 100644 git-prompt/Makefile diff --git a/git-prompt/Makefile b/git-prompt/Makefile deleted file mode 100644 index 29553e1..0000000 --- a/git-prompt/Makefile +++ /dev/null @@ -1,6 +0,0 @@ -build: - tar --create --bzip2 --file git-prompt-sources.tar.bz2 git-prompt.sh git-completion.sh - makepkg --sign --force - -install: - makepkg --sign --force --install \ No newline at end of file diff --git a/git-prompt/PKGBUILD b/git-prompt/PKGBUILD index 497f0ba..298c97a 100644 --- a/git-prompt/PKGBUILD +++ b/git-prompt/PKGBUILD @@ -2,15 +2,21 @@ pkgname=git-prompt pkgver=0.1.0 -pkgrel=3 +pkgrel=4 pkgdesc='A git prompt for bash' arch=('any') #url=https://github.com/volker-raschek/flucky #license=('Apache 2.0') depends=('bash') -source=("git-prompt-sources.tar.bz2") -sha256sums=('SKIP') +source=( + "local://git-prompt.sh" + "local://git-completion.sh" +) +sha256sums=( + "SKIP" + "SKIP" +) package() { - install -D --mode=0755 --target-directory=${pkgdir}/etc/bash_completion.d ${srcdir}/git-prompt.sh git-completion.sh + install -D --mode=0755 --target-directory=${pkgdir}/etc/bash_completion.d ${srcdir}/git-prompt.sh ${srcdir}/git-completion.sh } \ No newline at end of file