diff options
author | Kevin Daudt <ops@ikke.info> | 2018-02-18 19:42:38 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-02-20 18:06:04 +0000 |
commit | b7e46cc1a7a6a945194e82f1c9d06e6230877355 (patch) | |
tree | 698432b0d468f0b40c422310ea22f2700dfc1d26 | |
parent | f1eabed0fec2525fdd3eebf1a960bf6cdf4c4891 (diff) | |
download | aports-b7e46cc1a7a6a945194e82f1c9d06e6230877355.tar.bz2 aports-b7e46cc1a7a6a945194e82f1c9d06e6230877355.tar.xz |
community/fzf: add shell scripts as a subpackage
-rw-r--r-- | community/fzf/APKBUILD | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/community/fzf/APKBUILD b/community/fzf/APKBUILD index 810fc47deb..359cfb6d95 100644 --- a/community/fzf/APKBUILD +++ b/community/fzf/APKBUILD @@ -8,7 +8,7 @@ url="https://github.com/junegunn/fzf" arch="x86 x86_64" license="MIT" makedepends="go glide bash tmux" -subpackages="$pkgname-tmux::noarch" +subpackages="$pkgname-tmux::noarch $pkgname-extras::noarch" source="$pkgname-$pkgver.tar.gz::https://github.com/junegunn/fzf/archive/$pkgver.tar.gz no-glide-install.patch" builddir="$srcdir/$pkgname-$pkgver" @@ -47,5 +47,13 @@ tmux() { install -Dm0755 bin/fzf-tmux "$subpkgdir"/usr/bin/fzf-tmux } +extras() { + description="additional scripts like shell completion and keybindings" + + cd "$builddir" + install -dm0755 "$subpkgdir"/usr/share/fzf + install -m0644 shell/* "$subpkgdir"/usr/share/fzf +} + sha512sums="2713ef7adb0dd278ac0a0c362c5cd23e7b0f1867efdfa964ad1f63f48c7f518e0cf96cc0b2571487585a0271fb0d2398edfebdbe603ec2bb42d3bd87febd2156 fzf-0.17.3.tar.gz daa16985079e3b55ccf5e74dde356e1e13e43865c9809e432b5d272b053f541f1eacd402f3b04957ee855fb8c0ca1820b507d08e408f55dc80004990a949874c no-glide-install.patch" |