# Maintainer: Manuel Tortosa pkgname=filesystem-extra pkgver=2013.04 pkgrel=7 arch=('any') pkgdesc="Extra filesystem" groups=('extra') install=extra.install source=('extra.conf' 'extra.profile' 'extra.tcsh') md5sums=('b0f054b6c5f809927817b345351ed7b6' '040ac04839c1402ce8515f95feb88e63' '917d7c2c300f8c24709b66200faf9477') package() { cd ${pkgdir} install -d -m755 extra install -d -m755 extra/etc install -d -m755 extra/opt # Setup /extra/usr hierarchy for d in bin sbin lib share/misc include src; do install -d -m755 extra/usr/${d} done for d in $(seq 8); do install -d -m755 extra/usr/share/man/man${d} done # Add a profile for extra install -D -m755 $startdir/src/extra.profile $startdir/pkg/etc/profile.d/extra.sh install -D -m755 $startdir/src/extra.tcsh $startdir/pkg/etc/profile.d/extra.csh # Add /extra/usr/lib to the default library search path install -Dm644 "$srcdir/extra.conf" "$pkgdir/etc/ld.so.conf.d/extra.conf" }