void-packages/srcpkgs/base-directories/template

24 lines
646 B
Plaintext
Raw Normal View History

# Template file for 'base-directories'
pkgname=base-directories
version=0.19
revision=1
2012-07-09 20:28:26 +02:00
noarch=yes
bootstrap=yes
short_desc="Void 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."
2012-07-09 20:28:26 +02:00
do_install() {
vmkdir var/db/xbps/metadata/$pkgname
touch ${DESTDIR}/var/db/xbps/metadata/$pkgname/.owned
}
2012-07-09 20:28:26 +02:00
post_stow() {
. ${XBPS_SRCPKGDIR}/${pkgname}/INSTALL
cd ${XBPS_MASTERDIR} && make_system_dirs
}