summaryrefslogtreecommitdiff
path: root/libre/jquery-ui/PKGBUILD
blob: 0be01f72423344a199d3e136b640880db33cc453 (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
30
31
#Maintainer: André Silva <emulatorman@parabola.nu>
#Maintainer: Márcio Silva <coadde@parabola.nu>

_pkgname=jquery
pkgname=jquery-ui
pkgver=1.10.4
pkgrel=1
pkgdesc='jQuery UI provides abstractions for low-level interaction and animation, advanced effects and high-level, themeable widgets, built on top of the jQuery JavaScript Library, that you can use to build highly interactive web applications'
arch=any
url=http://jqueryui.com/
license=MIT
depends=jquery
makedepends=nodejs

source=https://github.com/$_pkgname/$pkgname/archive/$pkgver.tar.gz
sha512sums=cab57c40bc593f32baeca8f9bcf8e23ef770b511dd4894fbb5bfd0b0bb9f7266b9572247ea47289f8d0eaa782f8c803f3e4b262b71f00d173e7bd54793fdb0ac

build() {
  cd $srcdir/$pkgname-$pkgver
  npm install grunt-cli
  npm install
  node_modules/.bin/grunt build
}

package() {
  cd $srcdir/$pkgname-$pkgver
  install -d $pkgdir/usr/share/javascript/$pkgname
  install -d $pkgdir/usr/share/licenses/$pkgname
  cp -a dist/* $pkgdir/usr/share/javascript/$pkgname
  cp -a MIT-LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
}