aboutsummaryrefslogtreecommitdiff
blob: 6b4163706d612d7037066f0559aec567f69891ce (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
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4
PYTHON_DEPEND="2:2.6"
inherit base

DESCRIPTION="A set of query functions in javascript"
HOMEPAGE="http://code.jquery.com/"
SRC_URI="http://code.jquery.com/${P}.js http://code.jquery.com/${P}.min.js"

LICENSE="MIT GPL-2"
SLOT="0"

KEYWORDS="~amd64"
IUSE=""

DEPEND=""
RDEPEND="${DEPEND}"
S=${WORKDIR}

src_unpack() {
	cp $DISTDIR/jquery-1.7.2.js $DISTDIR/jquery-1.7.2.min.js ${WORKDIR}
}

src_install() {
	insinto /usr/share/${PN}/${PV}/
	doins ${P}.js ${P}.min.js
}