blob: 98a8bb6fefedaf9d8121122465a2d012bad0344f (
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
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=2
MY_PN=danbooru-v7sh-grabber
MY_P=${MY_PN}-${PV}
DESCRIPTION="POSIX shell script to download images from Danbooru and Gelbooru"
HOMEPAGE="http://code.google.com/p/danbooru-v7sh-grabber"
SRC_URI="http://${MY_PN}.googlecode.com/files/${MY_P}.tar.gz"
LICENSE="WTFPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
S=${WORKDIR}/${MY_P}
src_install() {
newbin ${MY_PN} ${PN} || die
dodoc README || die
}
pkg_postinst() {
elog "Please note that ${PN} also works with Gelbooru."
elog "Just specify \`--engine gelbooru' when running the script."
}
|