blob: 9ef0015ffbb81acef9dcfda61373819a045e3115 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Maintainer: Pig Fang <g-plane@hotmail.com>
pkgname=icd
pkgver=0.2.1
pkgrel=1
pkgdesc='Powerful `cd` command with fuzzy-search tool.'
arch=('any')
url="https://github.com/g-plane/$pkgname"
source=("https://github.com/g-plane/$pkgname/archive/v$pkgver.tar.gz")
sha256sums=('9757f5e809c7a34ffe6865fe59f6d7437fe047f53f410dfe4d7874f5a17b12b0')
license=('MIT')
depends=('fzf')
optdepends=('ripgrep' 'grep')
package() {
cd $srcdir/$pkgname-$pkgver/
install -Dm644 $pkgname.plugin.zsh $pkgdir/usr/share/zsh/scripts/$pkgname/$pkgname.plugin.zsh
install -dm755 $pkgdir/usr/share/fish/vendor_functions.d
install -Dm644 icd.fish $pkgdir/usr/share/fish/vendor_functions.d/icd.fish
install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
|