summaryrefslogtreecommitdiff
path: root/libre/jquery/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/jquery/PKGBUILD')
-rw-r--r--libre/jquery/PKGBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/libre/jquery/PKGBUILD b/libre/jquery/PKGBUILD
index bd828c070..2564d5d4d 100644
--- a/libre/jquery/PKGBUILD
+++ b/libre/jquery/PKGBUILD
@@ -2,28 +2,28 @@
#Maintainer: Márcio Silva <coadde@parabola.nu>
pkgname=jquery
-pkgver=2.1.0
-pkgrel=3
+pkgver=2.1.4
+pkgrel=1
pkgdesc='jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development'
arch=any
url=http://jquery.com/
license=MIT
-makedepends=nodejs
+makedepends=(npm nodejs-grunt-cli python2)
source=https://github.com/$pkgname/$pkgname/archive/$pkgver.tar.gz
-sha512sums=a5e1b1f5590e07301dd0793bba0961757211d9020efe67ea73817ad10122a9ecbb138ad868b195da7f9811656e7eb07d522f1a99c341ca833c213b1f1966f3ff
+sha512sums=1075f51d44b520ef08f633928c2bafd87ece3d523f1eff4ca96bcefb56ccb35ff5724335b35ff753fc47d813f54365ffabbc2e687ed1f1095c6d7563f84b1cff
build() {
cd $srcdir/$pkgname-$pkgver
npm install
- node_modules/.bin/grunt
+ grunt
}
package() {
cd $srcdir/$pkgname-$pkgver
install -d $pkgdir/usr/share/javascript/$pkgname
install -d $pkgdir/usr/share/licenses/$pkgname
- node_modules/.bin/grunt dist:$pkgdir/usr/share/javascript/$pkgname
+ grunt dist:$pkgdir/usr/share/javascript/$pkgname
cp -a MIT-LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
}