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

_pkgname=jquery
pkgname=jquery-ui
pkgver=1.11.3
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=(npm nodejs-grunt-cli)

source=(https://github.com/$_pkgname/$pkgname/archive/$pkgver.tar.gz)
md5sums=('50376cbf54dbd7be46bbd828c5426ee5')

build() {
  cd $srcdir/$pkgname-$pkgver
  npm install
  grunt concat:ui uglify:main
}

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 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
}