diff options
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 13 insertions, 11 deletions
@@ -1,6 +1,6 @@ pkgbase = blackpearl pkgdesc = Watch movies and series from The Pirate Bay in your terminal - pkgver = 0.0.5 + pkgver = 0.0.6 pkgrel = 1 url = https://www.npmjs.com/package/blackpearl arch = any @@ -10,8 +10,7 @@ pkgbase = blackpearl depends = npm depends = mpv options = !emptydirs - source = blackpearl::git+https://github.com/rainbowintheshell/blackpearl.git - md5sums = SKIP + source = https://registry.npmjs.org/blackpearl/-/blackpearl-0.0.6.tgz + md5sums = 9c437265c7458a10f0df8ddaba1f5a1d pkgname = blackpearl - @@ -1,7 +1,7 @@ -# Maintainer: Rainbow <rainbowtupperware@openmailbox.org> +# Contributor: Rainbow <rainbowtupperware@openmailbox.org> pkgname=blackpearl -pkgver=0.0.5 +pkgver=0.0.6 pkgrel=1 pkgdesc="Watch movies and series from The Pirate Bay in your terminal" arch=('any') @@ -10,10 +10,13 @@ license=('WTFPL') depends=('nodejs' 'npm' 'mpv') makedepends=('npm') options=(!emptydirs) -source=("$pkgname"::'git+https://github.com/rainbowintheshell/blackpearl.git') -md5sums=('SKIP') +source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz) +md5sums=('9c437265c7458a10f0df8ddaba1f5a1d') package() { - cd "${srcdir}/${pkgname}" - npm install --user root -g --prefix "${pkgdir}/usr" -} + npm install -g --prefix "${pkgdir}/usr" "${srcdir}/${pkgname}-${pkgver}.tgz" + + # npm gives ownership of ALL FILES to build user + # https://bugs.archlinux.org/task/63396 + chown -R root:root "${pkgdir}" +}
\ No newline at end of file |