diff options
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -4,20 +4,20 @@ pkgname=git-completion pkgver=1.3 pkgrel=1 pkgdesc='Git completions for Zsh and Bash' -url='https://github.com/felipec/git-completion' +url="https://github.com/felipec/$pkgname" arch=('any') license=('GPLv2') makedepends=('git') -source=("git-completion::git+$url.git#tag=v$pkgver") +source=("$pkgname::git+$url.git#tag=v$pkgver") sha256sums=('SKIP') check() { - cd git-completion && + cd $pkgname && make test } package() { - cd git-completion && + cd $pkgname && # TODO find a better location than /usr/local/share DESTDIR="$pkgdir" make \ zshfuncdir=/usr/share/zsh/site-functions \ |