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: 35
Popularity: 0.145844
First Submitted: 2015-08-26 18:38
Last Updated: 2017-10-21 00:37

Latest Comments

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.

trulex commented on 2016-02-28 12:51

No longer conflicts castnow since there's no such package anymore

yar commented on 2015-09-07 01:12

Are you able to use --tomp4 with avis file? I'm having this problem: https://github.com/xat/castnow/issues/113

Possibly missing a dependency?