2011-06-23 03:22:24 +02:00
|
|
|
# Template file for 'base-files'
|
|
|
|
pkgname=base-files
|
2012-01-30 09:46:51 +01:00
|
|
|
version=0.59
|
2011-07-17 01:17:06 +02:00
|
|
|
short_desc="Void GNU/Linux base system files"
|
2009-03-27 12:34:11 +01:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-07-17 01:17:06 +02:00
|
|
|
homepage="http://code.google.com/p/xbps"
|
2011-07-15 14:45:00 +02:00
|
|
|
license="Public domain"
|
2009-03-27 12:34:11 +01:00
|
|
|
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
|
2011-07-06 08:16:56 +02:00
|
|
|
bootstrap=yes
|
2009-03-27 12:34:11 +01:00
|
|
|
|
2010-05-18 08:03:13 +02:00
|
|
|
conf_files="
|
2011-10-26 11:04:14 +02:00
|
|
|
/etc/inputrc
|
2010-05-18 08:03:13 +02:00
|
|
|
/etc/profile
|
|
|
|
/etc/hosts
|
|
|
|
/etc/host.conf
|
|
|
|
/etc/securetty
|
2011-10-06 11:14:59 +02:00
|
|
|
/etc/skel/.profile
|
2010-05-18 08:03:13 +02:00
|
|
|
/etc/skel/.bash_profile
|
|
|
|
/etc/skel/.bash_logout
|
|
|
|
/etc/skel/.bashrc
|
2011-10-26 11:04:14 +02:00
|
|
|
/etc/skel/.inputrc
|
2010-05-18 08:03:13 +02:00
|
|
|
/etc/issue"
|
|
|
|
|
|
|
|
Add_dependency full base-directories
|
|
|
|
Add_dependency full xbps-triggers
|
2009-03-27 12:34:11 +01:00
|
|
|
|
2012-01-29 11:54:34 +01:00
|
|
|
do_install() {
|
2009-03-27 12:34:11 +01:00
|
|
|
# Install misc config files.
|
2011-10-26 11:04:14 +02:00
|
|
|
for f in bash_logout bash_profile bashrc profile inputrc; do
|
2011-07-15 18:55:21 +02:00
|
|
|
vinstall ${FILESDIR}/dot_${f} 644 etc/skel .${f}
|
2009-03-27 12:34:11 +01:00
|
|
|
done
|
|
|
|
|
2011-07-15 14:45:00 +02:00
|
|
|
vinstall ${FILESDIR}/securetty 600 etc
|
2011-10-26 11:04:14 +02:00
|
|
|
for f in profile hosts host.conf issue lsb-release inputrc; do
|
2011-07-15 14:45:00 +02:00
|
|
|
vinstall ${FILESDIR}/${f} 644 etc
|
|
|
|
done
|
|
|
|
vmkdir etc/profile.d
|
2009-03-27 12:34:11 +01:00
|
|
|
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
|
|
|
|
2011-07-15 14:45:00 +02:00
|
|
|
vinstall ${FILESDIR}/usb-load-ehci-first 644 etc/modprobe.d \
|
|
|
|
usb-load-ehci-first.conf
|
|
|
|
vinstall ${FILESDIR}/blacklist.conf 644 etc/modprobe.d
|
2010-05-18 08:33:57 +02:00
|
|
|
|
|
|
|
# Install comman licenses, from Debian.
|
2011-07-15 14:45:00 +02:00
|
|
|
vmkdir usr/share/licenses
|
2010-05-18 08:33:57 +02:00
|
|
|
install -m644 ${FILESDIR}/licenses/* ${DESTDIR}/usr/share/licenses
|
2011-07-10 13:02:46 +02:00
|
|
|
|
|
|
|
# vkpurge
|
2011-07-10 13:52:53 +02:00
|
|
|
vinstall ${FILESDIR}/vkpurge 755 sbin vkpurge
|
2009-03-27 12:34:11 +01:00
|
|
|
}
|