blob: 2564d5d4df6bc49d78c3f64ac35e6f720cacacf0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#Maintainer: André Silva <emulatorman@parabola.nu>
#Maintainer: Márcio Silva <coadde@parabola.nu>
pkgname=jquery
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=(npm nodejs-grunt-cli python2)
source=https://github.com/$pkgname/$pkgname/archive/$pkgver.tar.gz
sha512sums=1075f51d44b520ef08f633928c2bafd87ece3d523f1eff4ca96bcefb56ccb35ff5724335b35ff753fc47d813f54365ffabbc2e687ed1f1095c6d7563f84b1cff
build() {
cd $srcdir/$pkgname-$pkgver
npm install
grunt
}
package() {
cd $srcdir/$pkgname-$pkgver
install -d $pkgdir/usr/share/javascript/$pkgname
install -d $pkgdir/usr/share/licenses/$pkgname
grunt dist:$pkgdir/usr/share/javascript/$pkgname
cp -a MIT-LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
|