# Maintainer: UmamiAppearance pkgname=base-ex-cli pkgver=0.2.3 pkgrel=1 pkgdesc="CLI for BaseEx (base conversion)" arch=(x86_64) url=https://github.com/UmamiAppearance/BaseExCLI license=("GPL") makedepends=('npm') noextract=("${pkgname}-${pkgver}.tgz") source=("https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz") sha256sums=("60d3cc9986aa46e0348277c7140c04548b718c459305e1c29b2c57e83c4a48db") package() { npm install -g --prefix "${pkgdir}/usr" --cache "${srcdir}/npm-cache" "${srcdir}/${pkgname}-${pkgver}.tgz" # npm gives ownership of ALL FILES to build user # https://bugs.archlinux.org/task/63396 chown -R root:root "${pkgdir}" }