summaryrefslogtreecommitdiff
path: root/libre/jquery
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-02-14 22:08:30 -0200
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-02-14 22:08:30 -0200
commit0ce8cbcd69b1b054e2b4f9d4718b748e2440b9e5 (patch)
tree613cd7b71d9ccf2a6dc9eaeaaa1fc75b73a22000 /libre/jquery
parent2b08d511b563f3ce05989293ec4668c34bcd1fdb (diff)
downloadabslibre-0ce8cbcd69b1b054e2b4f9d4718b748e2440b9e5.tar.gz
abslibre-0ce8cbcd69b1b054e2b4f9d4718b748e2440b9e5.tar.bz2
abslibre-0ce8cbcd69b1b054e2b4f9d4718b748e2440b9e5.zip
add jquery and jquery-ui to the libre repo
Diffstat (limited to 'libre/jquery')
-rw-r--r--libre/jquery/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
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
+}
+