base-directories: set as meta-template, does not install any file.

This commit is contained in:
Juan RP 2012-08-21 10:49:49 +02:00
parent 16841e269e
commit 5155ed09b6

View file

@ -1,9 +1,10 @@
# Template file for 'base-directories' # Template file for 'base-directories'
pkgname=base-directories pkgname=base-directories
version=0.20 version=0.21
revision=1 revision=1
noarch=yes noarch=yes
bootstrap=yes bootstrap=yes
build_style=meta-template
short_desc="Void Linux base system directories" short_desc="Void Linux base system directories"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://code.google.com/p/xbps" homepage="http://code.google.com/p/xbps"
@ -12,11 +13,6 @@ long_desc="
This package installs the base system directories as specifed by FHS that aren't 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." installed by any other package and are required on any GNU/Linux system."
do_install() {
vmkdir var/db/xbps/metadata/$pkgname
touch ${DESTDIR}/var/db/xbps/metadata/$pkgname/.owned
}
post_stow() { post_stow() {
. ${XBPS_SRCPKGDIR}/${pkgname}/INSTALL . ${XBPS_SRCPKGDIR}/${pkgname}/INSTALL
cd ${XBPS_MASTERDIR} && make_system_dirs cd ${XBPS_MASTERDIR} && make_system_dirs