# Maintainer: Manuel Tortosa pkgname=filesystem-extra pkgver=2013.04 pkgrel=6 arch=('any') pkgdesc="Extra filesystem" groups=('extra') install=extra.install source=('extra.conf' 'extra.profile' 'extra.tcsh') md5sums=('b0f054b6c5f809927817b345351ed7b6' '820748a27c22315e23ab22ddf4be7880' '3ab04e0f2ac65f4834e1861d65bbf83d') 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" }