Package Details: underscorejs 1.8.3-1

Git Clone URL: https://aur.archlinux.org/underscorejs.git (read-only)
Package Base: underscorejs
Description: Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects.
Upstream URL: http://underscorejs.org
Licenses: MIT
Submitter: gavcos
Maintainer: gavcos
Last Packager: gavcos
Votes: 28
Popularity: 0.255094
First Submitted: 2013-03-22 15:39
Last Updated: 2015-08-25 05:05

Latest Comments

morealaz commented on 2016-01-03 16:07

It would be nice to install library to a more standard location like /usr/share/javascript/${pkgname}/ so that all javascript libraries can be installed into a common location (/usr/share/javascript/).

yan12125 commented on 2015-08-24 10:10

==> Starting package()...
install: cannot stat ‘LICENSE’: No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
==> ERROR: Makepkg was unable to build underscorejs.

donny commented on 2015-08-07 10:36

gosella: source url in your PKGBUILD is https://github.com/jashkenas/underscore/archive/${pkgver}.tar.gz - this is not original source, not trustful.

gosella commented on 2015-02-22 18:01

May I suggest to use this modified PKGBUILD?

http://pastebin.com/h9ezRmDB

It downloads the specific tar.gz archive associated with the PKGBUILD package version so it isn't affected when upstream push a new one.

Downloading the whole archive is useful if you want to also include the library documentation (which is in the 'docs' directory).

moonman commented on 2015-02-21 03:15

just add 'SKIP' to md5sum array for every file.

semi commented on 2014-05-21 09:17

If your source links to the HEAD of the git repo you'll have to update the md5sums very frequently so that the package builds correctly. At the time of writing, these are the correct ones:

md5sums=('2759657168928b7bbc21ce9911fefcb9'
'dd9663be9a71f3570bc35f0edba28712'
'19bf0f8c9bfb3f719f45bda2c3bdbd71')

Maybe an underscorejs-git AUR package would be better for such frequent updates (-git packages typically don't use checksums)? If you want to keep the source code version in sync with the package version I'd suggest using the tagged versions as a source URL so that the source only changes when you actually want to update the package version. Simply change the srcurl line to ${pkgver} instead of master:

srcurl=https://raw.githubusercontent.com/jashkenas/underscore/${pkgver}

rockneurotiko commented on 2014-05-19 17:14

Change MD5 of underscore.js to: c332350aaddab9040a42ab7caf6caf2f

gavcos commented on 2014-05-19 11:38

Added raw github links

Florian commented on 2014-05-03 12:44

+1 for changing the links

neard commented on 2014-04-26 04:42

Updated md5sum line:

md5sums=('5ce2a03fcfca229ab3f7252a675695cf'
'dd9663be9a71f3570bc35f0edba28712'
'19bf0f8c9bfb3f719f45bda2c3bdbd71')

All comments