From 1a8433a3240525038ae750b90c358ecbe15882c2 Mon Sep 17 00:00:00 2001 From: Bob Igo Date: Tue, 3 Feb 2009 11:02:56 -0500 Subject: 90% working Tweaker PKGBUILD file; committing for feedback --- abs/core-testing/tweaker/PKGBUILD | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/abs/core-testing/tweaker/PKGBUILD b/abs/core-testing/tweaker/PKGBUILD index bb5a401..c7cb9c3 100644 --- a/abs/core-testing/tweaker/PKGBUILD +++ b/abs/core-testing/tweaker/PKGBUILD @@ -1,6 +1,6 @@ pkgname=tweaker pkgver=1 -pkgrel=9 +pkgrel=11 pkgdesc="" arch=('i686' 'x86_64') @@ -15,23 +15,22 @@ license=('GPL2') #install=tweaker.install build() { TWEAKER_ROOT=/usr/LH/tweaker - mkdir -p $TWEAKER_ROOT - cd $TWEAKER_ROOT + mkdir -p $startdir/pkg/$TWEAKER_ROOT + # executables - install -m0777 -d bin $startdir/bin + install -m0777 -d bin $startdir/pkg/$TWEAKER_ROOT/bin # parallel root directory structure used for seeding configuration files - install -m0777 -d fs $startdir/fs + install -m0777 -d fs $startdir/pkg/$TWEAKER_ROOT/fs # Tweaker configuration files - install -m0555 -d tcf $startdir/tcf + install -m0555 -d tcf $startdir/pkg/$TWEAKER_ROOT/tcf + # Tweaker-centric log4perl configuration - cd /etc - install -m0755 log4perl.conf $startdir/log4perl.conf + 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 - # 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 + # Copy our tweaker Perl modules for general use + install -m0555 -d lib/Tweaker $startdir/pkg/usr/lib/perl5/vendor_perl/Tweaker } -- cgit v0.12