blob: 6d74549889853ea70d8ad4f5d763f3928d16c938 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: Rhys Perry <rhysperry111@gmail.com>
pkgname=cli-pride-flags
pkgver=1.9.0.1
_realver=1.9.0-1
pkgrel=1
pkgdesc='Displays pride flags in your terminal~'
arch=('any')
url='https://github.com/ExperiBass/cli-pride-flags'
license=('GPL3')
depends=('nodejs-chalk' 'nodejs')
makedepends=('npm')
source=("https://registry.npmjs.org/${pkgname}/-/${pkgname}-${_realver}.tgz")
noextract=("${pkgname}-${_realver}.tgz")
sha256sums=('af462cf1e50c863a88f90e8d48d1f55a06451bdcddb356f1fcae0f0062b6cedf')
package() {
npm install -g --production --prefix "${pkgdir}/usr" "${srcdir}/${pkgname}-${_realver}.tgz"
# npm gives ownership of ALL FILES to build user
# https://bugs.archlinux.org/task/63396
chown -R root:root "${pkgdir}"
}
|