fix: remove tar archive and use instead local files

This commit is contained in:
Markus Pesch 2020-09-28 19:52:37 +02:00
parent 1bdae55f6e
commit b379c8dc23
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
2 changed files with 10 additions and 10 deletions

View File

@ -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

View File

@ -2,15 +2,21 @@
pkgname=git-prompt pkgname=git-prompt
pkgver=0.1.0 pkgver=0.1.0
pkgrel=3 pkgrel=4
pkgdesc='A git prompt for bash' pkgdesc='A git prompt for bash'
arch=('any') arch=('any')
#url=https://github.com/volker-raschek/flucky #url=https://github.com/volker-raschek/flucky
#license=('Apache 2.0') #license=('Apache 2.0')
depends=('bash') depends=('bash')
source=("git-prompt-sources.tar.bz2") source=(
sha256sums=('SKIP') "local://git-prompt.sh"
"local://git-completion.sh"
)
sha256sums=(
"SKIP"
"SKIP"
)
package() { 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
} }