aboutsummaryrefslogtreecommitdiffstats
path: root/community/fzf/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/fzf/APKBUILD')
-rw-r--r--community/fzf/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/community/fzf/APKBUILD b/community/fzf/APKBUILD
index a7eba2ed98..f4c4370084 100644
--- a/community/fzf/APKBUILD
+++ b/community/fzf/APKBUILD
@@ -3,6 +3,7 @@
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=fzf
pkgver=0.21.0.p1
+_pkgver=${pkgver/.p/-}
pkgrel=0
pkgdesc="A command-line fuzzy finder"
url="https://github.com/junegunn/fzf"
@@ -18,7 +19,7 @@ subpackages="
$pkgname-neovim:nvim:noarch
$pkgname-doc
"
-source="$pkgname-$pkgver.tar.gz::https://github.com/junegunn/fzf/archive/${pkgver/.p/-}.tar.gz
+source="$pkgname-$pkgver.tar.gz::https://github.com/junegunn/fzf/archive/$_pkgver.tar.gz
glide.yaml
glide.lock
find-buzybox-compat.patch
@@ -29,7 +30,7 @@ prepare() {
export GOPATH="$srcdir"
mkdir -p "$(dirname "$builddir")"
- mv "$srcdir"/$pkgname-$pkgver "$builddir"/
+ mv "$srcdir"/$pkgname-$_pkgver "$builddir"/
cp "$srcdir"/glide.yaml "$srcdir"/glide.lock "$builddir"
glide install --skip-test