summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 53ed877ee38ad1396e36529f05dc011450cac570 (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
# Maintainer: Takumi <takuoh qt tutanota d0t com> # please replace q to a , 0 to o
pkgname=fzpac-git
_pkgname=fzpac
pkgver=r190.4f06f47
pkgrel=1
pkgdesc="Arch Linux (pacman) package finder with fzf "
arch=("any")
url="https://github.com/sheepla/fzpac"
license=('MIT')
depends=("fzf" "pacman")
optdepends=('bash-completion: completion support for bash'
            'zsh-completions: completion support for zsh')
source=("git+$url")
sha256sums=('SKIP')
install=$pkgname.install
provides=('fzpac')

pkgver() {
	cd "$_pkgname"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
	cd "$_pkgname"
	PREFIX=$pkgdir/usr make install
}