blob: c60ffc2a681a82582096dbc8e1924f64b08e71c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Maintainer: Erik Bender <erik.bender@develerik.dev>
# Contributor: Sebastian Reuße <seb@wirrsal.net>
pkgname=fzf-marks-git
_gitname=fzf-marks
pkgver=r149.2ff907f
pkgrel=1
pkgdesc="Create, navigate and delete bookmarks in Bash and Zsh, using the fuzzy finder fzf"
arch=(any)
url=https://github.com/urbainvaes/fzf-marks
license=(MIT)
depends=(fzf)
makedepends=(git)
optdepends=(
"zsh: to use with zsh"
"bash: to use with bash"
)
provides=(fzf-marks)
conflicts=(fzf-marks)
source=(git+https://github.com/urbainvaes/fzf-marks)
md5sums=(SKIP)
install=fzf-marks.install
pkgver() {
cd "$_gitname"
# No tagged commits. ヽ(´ー`)ノ
commit=$(git rev-list --count master)
hash=$(git rev-parse --short HEAD)
echo "r$commit.$hash"
}
package() {
cd "$_gitname"
install -Dm644 README.md "$pkgdir"/usr/share/doc/fzf-marks/README.md
install -Dm644 fzf-marks.plugin.bash "$pkgdir"/usr/share/fzf-marks/fzf-marks.bash
install -Dm644 fzf-marks.plugin.zsh "$pkgdir"/usr/share/fzf-marks/fzf-marks.zsh
}
|