Search Criteria
Package Details: castnow-git r180.05ddc3b-1
Git Clone URL: | https://aur.archlinux.org/castnow-git.git (read-only, click to copy) |
---|---|
Package Base: | castnow-git |
Description: | A commandline chromecast player |
Upstream URL: | https://github.com/xat/castnow |
Licenses: | |
Submitter: | archlinuxfr |
Maintainer: | dbirks |
Last Packager: | dbirks |
Votes: | 58 |
Popularity: | 0.23 |
First Submitted: | 2015-08-26 18:38 |
Last Updated: | 2019-06-11 14:09 |
Latest Comments
1 2 Next › Last »
popoffka commented on 2021-03-20 22:19
Doesn't seem to build:
whatouate commented on 2020-12-19 19:47
It fails when there is a space in $pkgdir. Using "$pkgdir/usr" and "$pkgdir" on line 26 and 28 fixes this issue.
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"
}
Anonymous comment 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"
}
Anonymous comment 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