summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Nagy <danielnagy@gmx.de>2011-07-04 19:51:20 +0200
committerDaniel Nagy <danielnagy@gmx.de>2011-07-04 19:51:20 +0200
commit7862eac6cde11baf1e778b1713dc15bedb3e866f (patch)
tree58151bd229dd74dac3d31251aaa426ea5603193b /js-libs/jquery/jquery-1.6.2.ebuild
parentadding metadata for category js-libs (diff)
downloaddrevilt-7862eac6cde11baf1e778b1713dc15bedb3e866f.tar.gz
drevilt-7862eac6cde11baf1e778b1713dc15bedb3e866f.tar.bz2
drevilt-7862eac6cde11baf1e778b1713dc15bedb3e866f.zip
updating jquery
Diffstat (limited to 'js-libs/jquery/jquery-1.6.2.ebuild')
-rw-r--r--js-libs/jquery/jquery-1.6.2.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/js-libs/jquery/jquery-1.6.2.ebuild b/js-libs/jquery/jquery-1.6.2.ebuild
new file mode 100644
index 0000000..5fd97d9
--- /dev/null
+++ b/js-libs/jquery/jquery-1.6.2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+
+inherit webapp versionator eutils
+
+DESCRIPTION="a fast and concise JavaScript Library"
+HOMEPAGE="http://jquery.com/"
+SRC_URI="http://code.jquery.com/${P}.js http://code.jquery.com/${P}.min.js"
+
+LICENSE="|| ( MIT GPL-2 )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ cp "${DISTDIR}/${P}.js" "${S}/"
+ cp "${DISTDIR}/${P}.min.js" "${S}/"
+ ln -s "${P}.js" "${PN}.js"
+ ln -s "${P}.min.js" "${PN}.min.js"
+}
+
+src_install() {
+ webapp_src_preinst
+ webapp_src_install
+ insinto "${MY_HTDOCSDIR}"
+ doins "${P}.js" "${P}.min.js" "${PN}.js" "${PN}.min.js"
+}
+
+pkg_setup() {
+ webapp_pkg_setup
+}
+
+pkg_postinst() {
+ webapp_pkg_postinst
+}