blob: 144edac61913ecef5d8b5c18d509ca93691d3111 (
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
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-rust/eselect-rust-0.1_pre20140820.ebuild,v 1.1 2014/08/29 13:49:14 jauhien Exp $
EAPI=5
DESCRIPTION="eselect module for rust"
HOMEPAGE="http://github.com/jauhien/eselect-rust"
SRC_URI="https://github.com/jauhien/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="app-admin/eselect"
pkg_postinst() {
if has_version 'dev-lang/rust'; then
eselect rust update --if-unset
fi
}
pkg_prerm() {
eselect rust unset
}
|