2009-03-27 11:34:11 +00:00
|
|
|
# Template file for 'xbps-base-files'
|
|
|
|
pkgname=xbps-base-files
|
2010-05-18 06:03:13 +00:00
|
|
|
version=0.37
|
2009-03-27 11:34:11 +00:00
|
|
|
build_style=custom-install
|
2010-05-18 06:03:13 +00:00
|
|
|
short_desc="XBPS Base System files"
|
2009-03-27 11:34:11 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
long_desc="
|
2010-05-18 06:03:13 +00:00
|
|
|
This package installs the base system files that aren't installed by any
|
|
|
|
other package and are required on any GNU/Linux system."
|
2009-03-27 11:34:11 +00:00
|
|
|
|
2010-05-18 06:03:13 +00:00
|
|
|
noarch=yes
|
2009-10-17 01:12:48 +00:00
|
|
|
keep_empty_dirs=yes
|
2009-03-27 11:34:11 +00:00
|
|
|
base_chroot=yes
|
|
|
|
|
2010-05-18 06:03:13 +00:00
|
|
|
conf_files="
|
|
|
|
/etc/profile
|
|
|
|
/etc/hosts
|
|
|
|
/etc/host.conf
|
|
|
|
/etc/securetty
|
|
|
|
/etc/skel/.bash_profile
|
|
|
|
/etc/skel/.bash_logout
|
|
|
|
/etc/skel/.bashrc
|
|
|
|
/etc/issue"
|
|
|
|
|
|
|
|
Add_dependency full base-directories
|
|
|
|
Add_dependency full xbps-triggers
|
2009-03-27 11:34:11 +00:00
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
|
|
|
#
|
|
|
|
# Install misc config files.
|
|
|
|
#
|
|
|
|
for f in bash_logout bash_profile bashrc; do
|
|
|
|
install -D -m644 ${FILESDIR}/dot_${f} ${DESTDIR}/etc/skel/.${f}
|
|
|
|
done
|
|
|
|
|
|
|
|
install -m644 ${FILESDIR}/profile ${DESTDIR}/etc
|
|
|
|
install -m600 ${FILESDIR}/securetty ${DESTDIR}/etc
|
|
|
|
install -m644 ${FILESDIR}/hosts ${DESTDIR}/etc
|
|
|
|
install -m644 ${FILESDIR}/host.conf ${DESTDIR}/etc
|
2009-10-04 17:38:00 +00:00
|
|
|
install -m644 ${FILESDIR}/issue ${DESTDIR}/etc
|
2009-03-27 11:34:11 +00:00
|
|
|
|
|
|
|
install -d ${DESTDIR}/etc/profile.d
|
|
|
|
install -m644 ${FILESDIR}/*.sh ${DESTDIR}/etc/profile.d
|
2009-03-27 15:39:55 +00:00
|
|
|
install -m644 ${FILESDIR}/DIR_COLORS* ${DESTDIR}/etc
|
2009-03-27 11:34:11 +00:00
|
|
|
|
|
|
|
install -d ${DESTDIR}/etc/modprobe.d
|
2009-08-11 15:13:33 +00:00
|
|
|
install -m644 ${FILESDIR}/usb-load-ehci-first \
|
|
|
|
${DESTDIR}/etc/modprobe.d/usb-load-ehci-first.conf
|
2009-10-19 14:22:28 +00:00
|
|
|
install -m644 ${FILESDIR}/blacklist.conf ${DESTDIR}/etc/modprobe.d
|
2009-03-27 11:34:11 +00:00
|
|
|
}
|