pkgname=tweaker pkgver=1 pkgrel=11 pkgdesc="" arch=('i686' 'x86_64') depends=('bash' 'perl' 'perl-dbi' 'perl-exception-class' 'perl-log-log4perl' 'perl-log-dispatch' 'perl-getopt-lucid' 'perl-list-member' 'perl-class-data-inheritable' 'perl-devel-stacktrace' 'perl-xml-twig') source=(tweaker.sh log4perl.conf bin/tweaker.pl bin/twk_audio.pl bin/twk_audio_RP.pl bin/twk_cpu.pl bin/twk_dragon.pl bin/twk_EXAMPLE.pl bin/twk_fingerprint_hardware.sh bin/twk_general.pl bin/twk_graphics.pl bin/twk_keymap.sh bin/twk_linux.pl bin/twk_localization.pl bin/twk_misc.pl bin/twk_RAM.pl bin/twk_scrub_sql.pl bin/twk_tuners.pl bin/twk_upgrade.pl bin/twk_what_has_changed.sh tcf/EXAMPLE.tcf tcf/focus.tcf tcf/os.tcf tcf/tcf.dtd tcf/tweaker-core.tcf tcf/userland.tcf fs/etc/asound.conf fs/var/lib/alsa/ALC888.asound.state fs/var/lib/alsa/AV710.asound.state lib/Tweaker/Definitions.pm lib/Tweaker/Script.pm) license=('GPL2') #groups=('pvr') #install=tweaker.install build() { TWEAKER_ROOT=/usr/LH/tweaker mkdir -p $startdir/pkg/$TWEAKER_ROOT # executables install -m0777 -d bin $startdir/pkg/$TWEAKER_ROOT/bin # parallel root directory structure used for seeding configuration files install -m0777 -d fs $startdir/pkg/$TWEAKER_ROOT/fs # Tweaker configuration files install -m0555 -d tcf $startdir/pkg/$TWEAKER_ROOT/tcf # Tweaker-centric log4perl configuration install -m0755 log4perl.conf $startdir/pkg/etc/log4perl.conf # Ensure shell variables are configured at start; ensure $TWEAKER_ROOT/bin is in $PATH mkdir -p $startdir/pkg/etc/profile.d install -m0755 tweaker.sh $startdir/pkg/etc/profile.d/tweaker.sh # Copy our tweaker Perl modules for general use install -m0555 -d lib/Tweaker $startdir/pkg/usr/lib/perl5/vendor_perl/Tweaker }