# Maintainer: # Contributor: Hugo Osvaldo Barrera pkgname=emoj pkgver=3.3.0 pkgrel=1 pkgdesc="Find relevant emoji from text on the command-line" arch=("any") url="https://github.com/sindresorhus/${pkgname}" license=('MIT') depends=('nodejs' 'xsel') makedepends=('npm') source=(https://github.com/sindresorhus/${pkgname}/archive/v${pkgver}.tar.gz) noextract=($pkgname-$pkgver.tgz) sha256sums=('623ffc8c40547899ac34b815938250863ec6ed8dd4c522c90d7d75ec27cb61f7') package() { install -dm 755 "${pkgdir}/usr/lib/node_modules/" cd "${pkgdir}/usr/lib/node_modules/" npm install -g --prefix "${pkgdir}/usr" ${pkgname}@${pkgver} }