void-packages/srcpkgs/base-directories/template
Juan RP 23dd7d008e Update build_style for all templates.
- There's no need to set build_style for custom-install (default).
- gnu_{configure,makefile} renamed to gnu-{configure,makefile}.
2011-10-24 14:14:47 +02:00

26 lines
645 B
Text

# Template file for 'base-directories'
pkgname=base-directories
version=0.15
short_desc="Void GNU/Linux base system directories"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://code.google.com/p/xbps"
license="Public domain"
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
}