summaryrefslogtreecommitdiff
blob: c480a3c12fd241782c47feb1a4d86058087ff579 (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: /var/cvsroot/gentoo-x86/dev-tcltk/tclxml/tclxml-3.2-r1.ebuild,v 1.10 2011/03/27 19:46:03 ranger Exp $

EAPI="4"

DESCRIPTION="tablesorter"
HOMEPAGE="http://tablesorter.com/"
SRC_URI="http://tablesorter.com/__jquery.tablesorter.zip -> ${P}.zip"

IUSE=""
LICENSE=""
SLOT="0"
KEYWORDS="~x86 ~amd64"

DEPEND="app-arch/unzip"
RDEPEND=">=js-libs/jquery-1.2.1"

S=${WORKDIR}

src_unpack() {
	unpack "${A}"
	find -name .svn | xargs rm -fr
}

src_install() {
	mkdir -p ${D}/usr/share/tablesorter/themes
	cp ${WORKDIR}/jquery.tablesorter.js ${D}/usr/share/tablesorter/
	cp -r ${WORKDIR}/themes/* ${D}/usr/share/tablesorter/themes/
}