summaryrefslogtreecommitdiffstats
path: root/eselect/Pkgfile
blob: 273bf290758f9f3c591bb45fcddcb7a110c649f3 (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
31
description="Bash framework for administration and system management tools."
packager="Lukc (XMPP: lukc AT upyum DOT com ; SMTP: lukc AT linkmauve DOT fr)"
maintainer="Lukc (XMPP: lukc AT upyum DOT com ; SMTP: lukc AT linkmauve DOT fr)"
depends=(bash)
url=http://www.gentoo.org/proj/en/eselect/index.xml

name=eselect
version=1.2.10
release=1
archs=(no-arch)
kernels=(no-kernel)

source=(
	http://mirror.ovh.net/gentoo-distfiles/distfiles/$name-$version.tar.bz2
	package-manager.bash.in
	news.eselect
)

includes=(autotools)

post_build() {
	for module in bashcomp binutils editor env pager profile rc visual; do
		rm $PKG/$sharedir/eselect/modules/$module.eselect
		rm $PKG/$sharedir/man/man5/$module.eselect.5
	done
	rm $PKG/$sharedir/eselect/modules/news.eselect
	cp news.eselect $PKG/$sharedir/eselect/modules/news.eselect
	cp package-manager.bash.in $PKG/$sharedir/eselect/libs/package-manager.bash
}