mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 05:17:07 +02:00
59 lines
1.6 KiB
Plaintext
59 lines
1.6 KiB
Plaintext
# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
|
|
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
|
|
pkgname=tmuxinator
|
|
pkgver=3.3.0
|
|
pkgrel=0
|
|
pkgdesc="manage complex tmux sessions easily"
|
|
url="https://github.com/tmuxinator/tmuxinator"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="tmux ruby ruby-erubi ruby-thor ruby-xdg"
|
|
checkdepends="ruby-rspec"
|
|
options="!check" # requires coveralls
|
|
subpackages="
|
|
$pkgname-bash-completion
|
|
$pkgname-fish-completion
|
|
$pkgname-zsh-completion
|
|
"
|
|
source="https://github.com/tmuxinator/tmuxinator/archive/v$pkgver/tmuxinator-$pkgver.tar.gz
|
|
tmuxinator-use-new-xdg-version.patch
|
|
"
|
|
|
|
build() {
|
|
gem build tmuxinator.gemspec
|
|
}
|
|
|
|
check() {
|
|
rspec
|
|
}
|
|
|
|
package() {
|
|
local gemdir="$pkgdir/$(ruby -e 'puts Gem.default_dir')"
|
|
|
|
gem install \
|
|
--local \
|
|
--install-dir "$gemdir" \
|
|
--bindir "$pkgdir/usr/bin" \
|
|
--ignore-dependencies \
|
|
--no-document \
|
|
--verbose \
|
|
tmuxinator
|
|
|
|
install -Dm0644 completion/tmuxinator.bash \
|
|
"$pkgdir"/usr/share/bash-completion/completions/tmuxinator
|
|
install -Dm0644 completion/tmuxinator.fish \
|
|
"$pkgdir"/usr/share/fish/vendor_completions.d/tmuxinator.fish
|
|
install -Dm0644 completion/tmuxinator.zsh \
|
|
"$pkgdir"/usr/share/zsh/site-functions/_tmuxinator
|
|
|
|
rm -r "$gemdir"/cache \
|
|
"$gemdir"/extensions \
|
|
"$gemdir"/doc \
|
|
"$gemdir"/gems/tmuxinator-$pkgver/spec
|
|
}
|
|
|
|
sha512sums="
|
|
36071d1bb651f3810e95df3795ca40ab4ae61e4c074ab9fa20ecaddfb1a04f7f6ff52d136eccb0b71893758fde59608f77e9788a7608e6a72131db0600964bcb tmuxinator-3.3.0.tar.gz
|
|
1c6d0e708301662e2175c6c5c67658683af5135fd0a1bb156a18159f4a59e65e466a8c2434b8236c56ae99708f54a2451ffdec281109218291cf8e89f39f192f tmuxinator-use-new-xdg-version.patch
|
|
"
|