Package Details: castnow-git r180.05ddc3b-1

Git Clone URL: https://aur.archlinux.org/castnow-git.git (read-only)
Package Base: castnow-git
Description: A commandline chromecast player
Upstream URL: https://github.com/xat/castnow
Licenses: MIT
Submitter: archlinuxfr
Maintainer: dbirks
Last Packager: dbirks
Votes: 44
Popularity: 1.097680
First Submitted: 2015-08-26 18:38
Last Updated: 2018-06-08 02:17

Required by (0)

Sources (1)

Latest Comments

dbirks commented on 2018-06-08 02:18

Thank you pdxleif and mhertz for the fix and reminder comment and testing. Package builds nicely now.

mhertz commented on 2018-06-08 01:45

As stated by pdxleif, this package fails to build, so kindly fix by deleting line 28 of PKGBUILD, which i've personally tested to work. Thanks in advance! :)

pdxleif commented on 2018-05-29 05:46

Fails with "rmdir: failed to remove 'usr/etc': No such file or directory"

dbirks commented on 2017-10-21 00:40

Updated PKGBUILD, and it's now building nicely. Thanks @asem, @trulex, and @blumsicle for the fixes!

Skunnyk commented on 2017-09-29 11:18

Disowning, please adopt it to update it :)

paulodiovani commented on 2017-09-17 22:50

Another option is to install from a tarball:

package() {
cd $srcdir
tar czvf "../$pkgname-$pkgver.tar.gz" "$pkgname"

install -D -m644 "$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
npm install --user root -g --prefix="$pkgdir/usr" "../$pkgname-$pkgver.tar.gz"
}

asem commented on 2017-08-05 15:09

This fixes it for me


package() {
cd $pkgname
mkdir -p $pkgdir/usr
npm install --user root -g --prefix="$pkgdir/usr"
cd $pkgdir
rmdir usr/etc
cd usr/lib/node_modules/
rm castnow
mv ../../../../../src/castnow-git castnow
cd castnow
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

asem commented on 2017-08-05 12:30

npm creates a relative symlink /usr/bin/castnow - > ../lib/node_modules/castnow/index.js which results in a broken symlink after the package is generated.

A manual fix is needed in the PKGBUILD

blumsicle commented on 2017-05-02 18:32

The PKGBUILD unintentionally adds an empty '/usr/etc' directory. Adding `rmdir "$pkgdir/usr/etc"` after the `npm install ...` fixes that.

Skunnyk commented on 2016-10-17 10:00

No need to flag it out of date, it's a -git version.

All comments