summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9aaabbf5bb4ceaea4b4d95c8cc2758a01f2985cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Maintainer: Simon Legner <Simon.Legner@gmail.com>
pkgname=npm-fzf
pkgver=1.1.6
pkgrel=1
pkgdesc="Fuzzy search npm modules with fzf"
arch=(any)
url="https://github.com/hankchanocd/npm-fzf"
license=('MIT')
depends=('nodejs' 'fzf')
makedepends=('npm')
source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
noextract=($pkgname-$pkgver.tgz)

package() {
  npm install -g --user root --prefix "$pkgdir/usr" "$srcdir/$pkgname-$pkgver.tgz"
  find "${pkgdir}"/usr -type d -exec chmod 755 {} +
}

sha256sums=('2e0c55b4662a3b80fa0d422f995f3ec6e185bafab2f50717a0ebc7f533450df6')