pkgname=tweaker pkgver=1 pkgrel=9 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 $TWEAKER_ROOT cd $TWEAKER_ROOT # executables install -m0777 -d bin $startdir/bin # parallel root directory structure used for seeding configuration files install -m0777 -d fs $startdir/fs # Tweaker configuration files install -m0555 -d tcf $startdir/tcf # Tweaker-centric log4perl configuration cd /etc install -m0755 log4perl.conf $startdir/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 # Link our tweaker Perl modules for general use /bin/ln -fs $TWEAKER_ROOT/lib/Tweaker /etc/perl/ /bin/cp $startdir/fs/etc/log4perl.conf /etc }