diff options
-rw-r--r-- | libre/jquery-ui/PKGBUILD | 31 | ||||
-rw-r--r-- | libre/jquery/PKGBUILD | 29 |
2 files changed, 60 insertions, 0 deletions
diff --git a/libre/jquery-ui/PKGBUILD b/libre/jquery-ui/PKGBUILD new file mode 100644 index 000000000..0be01f724 --- /dev/null +++ b/libre/jquery-ui/PKGBUILD @@ -0,0 +1,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 +} diff --git a/libre/jquery/PKGBUILD b/libre/jquery/PKGBUILD new file mode 100644 index 000000000..23d56d7c3 --- /dev/null +++ b/libre/jquery/PKGBUILD @@ -0,0 +1,29 @@ +#Maintainer: André Silva <emulatorman@parabola.nu> +#Maintainer: Márcio Silva <coadde@parabola.nu> + +pkgname=jquery +pkgver=2.1.0 +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 + +source=https://github.com/$pkgname/$pkgname/archive/$pkgver.tar.gz +sha512sums=aedd1086b3b84ed6705b31ac297b6bef29fc2b19a190b3bded2c135d13931cdc92b9ea7cf3eab86e8157a50f1e4ec9ba2bbe1eeba1af5dd44079f237571d41e4 + +build() { + cd $srcdir/$pkgname-$pkgver + npm install + node_modules/.bin/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 + cp -a MIT-LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE +} + |