gtk/filesystem-extra/PKGBUILD

38 lines
1.0 KiB
Bash
Raw Normal View History

2013-04-28 17:26:14 +08:00
# Maintainer: Manuel Tortosa <manutortos@chakra-project.org>
pkgname=filesystem-extra
pkgver=2013.04
2013-05-01 04:04:25 +08:00
pkgrel=7
2013-04-28 17:26:14 +08:00
arch=('any')
pkgdesc="Extra filesystem"
groups=('extra')
2013-04-28 18:03:30 +08:00
install=extra.install
source=('extra.conf' 'extra.profile' 'extra.tcsh')
md5sums=('b0f054b6c5f809927817b345351ed7b6'
2013-05-01 04:04:25 +08:00
'040ac04839c1402ce8515f95feb88e63'
'917d7c2c300f8c24709b66200faf9477')
2013-04-30 05:13:21 +08:00
2013-04-28 17:26:14 +08:00
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
2013-04-28 18:03:30 +08:00
# 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
2013-04-28 17:26:14 +08:00
# Add /extra/usr/lib to the default library search path
install -Dm644 "$srcdir/extra.conf" "$pkgdir/etc/ld.so.conf.d/extra.conf"
}