2009-03-27 12:34:11 +01:00
|
|
|
# Template file for 'xbps-base-files'
|
|
|
|
pkgname=xbps-base-files
|
2010-05-18 08:33:57 +02:00
|
|
|
version=0.38
|
2009-03-27 12:34:11 +01:00
|
|
|
build_style=custom-install
|
2010-05-18 08:03:13 +02:00
|
|
|
short_desc="XBPS Base System files"
|
2009-03-27 12:34:11 +01:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
long_desc="
|
2010-05-18 08:03:13 +02: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 12:34:11 +01:00
|
|
|
|
2010-05-18 08:03:13 +02:00
|
|
|
noarch=yes
|
2009-03-27 12:34:11 +01:00
|
|
|
base_chroot=yes
|
|
|
|
|
2010-05-18 08:03:13 +02: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 12:34:11 +01: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 19:38:00 +02:00
|
|
|
install -m644 ${FILESDIR}/issue ${DESTDIR}/etc
|
2009-03-27 12:34:11 +01:00
|
|
|
|
|
|
|
install -d ${DESTDIR}/etc/profile.d
|
|
|
|
install -m644 ${FILESDIR}/*.sh ${DESTDIR}/etc/profile.d
|
2009-03-27 16:39:55 +01:00
|
|
|
install -m644 ${FILESDIR}/DIR_COLORS* ${DESTDIR}/etc
|
2009-03-27 12:34:11 +01:00
|
|
|
|
|
|
|
install -d ${DESTDIR}/etc/modprobe.d
|
2009-08-11 17:13:33 +02:00
|
|
|
install -m644 ${FILESDIR}/usb-load-ehci-first \
|
|
|
|
${DESTDIR}/etc/modprobe.d/usb-load-ehci-first.conf
|
2009-10-19 16:22:28 +02:00
|
|
|
install -m644 ${FILESDIR}/blacklist.conf ${DESTDIR}/etc/modprobe.d
|
2010-05-18 08:33:57 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# Install comman licenses, from Debian.
|
|
|
|
#
|
|
|
|
install -d ${DESTDIR}/usr/share/licenses
|
|
|
|
install -m644 ${FILESDIR}/licenses/* ${DESTDIR}/usr/share/licenses
|
2009-03-27 12:34:11 +01:00
|
|
|
}
|