void-packages/srcpkgs/base-directories/template

26 lines
610 B
Plaintext
Raw Normal View History

# Template file for 'base-directories'
pkgname=base-directories
version=0.12
build_style=custom-install
short_desc="Vanilla GNU/Linux base system directories"
maintainer="Juan RP <xtraeme@gmail.com>"
long_desc="
This package installs the base system directories as specifed by FHS that aren't
installed by any other package and are required on any GNU/Linux system."
noarch=yes
bootstrap=yes
do_install()
{
. ${XBPS_SRCPKGDIR}/${pkgname}/INSTALL
install -d ${DESTDIR}
cd ${DESTDIR} && make_system_dirs
}
post_stow()
{
. ${XBPS_SRCPKGDIR}/${pkgname}/INSTALL
cd ${XBPS_MASTERDIR} && make_system_dirs
}