aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-04-13 04:37:12 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-04-13 09:44:38 +0000
commitc8078df9846f1e96572c5b8f01bf286eadca404a (patch)
tree35c07b62fe2ca34f9616b3b830f3bea0a8ef19ca /testing
parentc24466116f532665721926c37a64795fbaec2b18 (diff)
downloadaports-c8078df9846f1e96572c5b8f01bf286eadca404a.tar.bz2
aports-c8078df9846f1e96572c5b8f01bf286eadca404a.tar.xz
testing/pastel: fix location of fish-completion package
Diffstat (limited to 'testing')
-rw-r--r--testing/pastel/APKBUILD23
1 files changed, 13 insertions, 10 deletions
diff --git a/testing/pastel/APKBUILD b/testing/pastel/APKBUILD
index 7ce49c574a..2a8c773443 100644
--- a/testing/pastel/APKBUILD
+++ b/testing/pastel/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Joe Searle <joe@jsearle.net>
pkgname=pastel
pkgver=0.7.1
-pkgrel=0
+pkgrel=1
pkgdesc="A command-line tool to generate, analyze, convert and manipulate colors"
url="https://github.com/sharkdp/pastel"
arch="all !s390x !mips !mips64" # rust/cargo
@@ -25,27 +25,30 @@ package() {
}
bashcomp() {
- cd $builddir
+ depends=""
pkgdesc="Bash completion for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
- install -Dm644 completions/pastel.bash \
- "$subpkgdir/usr/share/bash-completion/completions/pastel"
+
+ install -Dm644 "$builddir"/completions/pastel.bash \
+ "$subpkgdir"/usr/share/bash-completion/completions/pastel
}
zshcomp() {
- cd $builddir
+ depends=""
pkgdesc="Zsh completion for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel zsh"
- install -Dm644 completions/_pastel \
- "$subpkgdir/usr/share/zsh/site-functions/_pastel"
+
+ install -Dm644 "$builddir"/completions/_pastel \
+ "$subpkgdir"/usr/share/zsh/site-functions/_pastel
}
fishcomp() {
- cd $builddir
+ depends=""
pkgdesc="Fish completion for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel zsh"
- install -Dm644 completions/pastel.fish \
- "$subpkgdir/usr/share/fish/vendor_completions.d/pastel.fish"
+
+ install -Dm644 "$builddir"/completions/pastel.fish \
+ "$subpkgdir"/usr/share/fish/completions/pastel.fish
}
sha512sums="e94c19a939a2dae441807b3ccde3d4884af4c83fe58c04f0072b9ff3d1952048e990de1ca056e65081faff04d7b14495135f1a64a1c2ecf8a5ea4da1105289ba pastel-0.7.1.tar.gz"