Package Details: js-beautify 1.10.2-2

Git Clone URL: https://aur.archlinux.org/js-beautify.git (read-only, click to copy)
Package Base: js-beautify
Description: Beautify JavaScript/JSON (jsbeautifier.org)
Upstream URL: http://jsbeautifier.org/
Licenses: MIT
Conflicts: python-jsbeautifier
Submitter: tokland
Maintainer: tokland
Last Packager: tokland
Votes: 37
Popularity: 0.22
First Submitted: 2010-12-04 22:02
Last Updated: 2019-08-29 07:14

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

simon04 commented on 2015-09-15 13:13

This is as simple as installing https://aur.archlinux.org/packages/nodejs-npm2arch and running `npm2PKGBUILD js-beautify` afterwards.

tokland commented on 2015-09-15 11:40

No reason other than I didn't know about it. If you can provide the PKGBUILD, I'll be grateful!

simon04 commented on 2015-09-14 12:10

* Version 1.5.10 is out.
* Please mention jsbeautifier.org in the description (allows to find this package when searching by the URL of the online converter)
* Is there a reason why you don't use https://aur.archlinux.org/packages/nodejs-npm2arch?

tokland commented on 2015-01-31 20:47

@prurigro: It seems the old github repository points to the new, so let's just replace the PKGBUILD with the one you provided.

prurigro commented on 2015-01-31 07:22

@tokland: Hmm true, it looks like there are python and node versions both available in the same package. I'm not sure if they're both equivalent, but I do notice the python one lacks the html and css shortcuts. Would there be any sense to package both together on that note?

tokland commented on 2015-01-29 19:11

It looks like it's a complete rewrite, with different dependencies, options, etc. Question: does it make sense to create a separate AUR package?

prurigro commented on 2015-01-29 16:48

Hey, I've written an updated js-beautify package for the current version that you can feel free to use compliments of the ArchAssault project- Cheers!

https://ezcrypt.it/A8An#ziBTlHLEI0aht3zxGHGc7J0v

temoto commented on 2013-10-02 14:08

Does not build

% pacaur -S js-beautify
:: Package(s) js-beautify not found in repositories, trying AUR...
:: resolving dependencies...
:: looking for inter-conflicts...

AUR Packages (1): js-beautify-v1.4.0.5.g4a3263b-1

:: Proceed with installation? [Y/n]

:: View js-beautify PKGBUILD? [Y/n] n
:: Building js-beautify package...
==> Making package: js-beautify v1.4.0.5.g4a3263b-1 (Wed Oct 2 18:06:45 MSK 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Cloning js-beautify git repo...
Cloning into bare repository '/tmp/pacaurtmp-temoto/js-beautify/js-beautify'...
remote: Counting objects: 5008, done.
remote: Compressing objects: 100% (2674/2674), done.
remote: Total 5008 (delta 2672), reused 4569 (delta 2289)
Receiving objects: 100% (5008/5008), 1.80 MiB | 767.00 KiB/s, done.
Resolving deltas: 100% (2672/2672), done.
Checking connectivity... done
==> Validating source files with md5sums...
js-beautify ... Skipped
==> Extracting sources...
-> Creating working copy of js-beautify git repo...
Cloning into 'js-beautify'...
done.
Switched to a new branch 'makepkg'
==> Starting pkgver()...
==> Entering fakeroot environment...
==> Starting package()...
install: cannot create regular file ‘/tmp/pacaurtmp-temoto/js-beautify/pkg/js-beautify/usr/bin/js-beautify’: No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
:: js-beautify cleaned
pacaur -Sy js-beautify 1.86s user 0.66s system 14% cpu 16.955 total

tokland commented on 2013-06-28 16:00

Thanks, I had no idea "source" understood git links. Updated to your PKGBUILD only changing the commit (to the last one).

alzeih commented on 2013-06-28 08:33

Sure: http://sprunge.us/fHUg