summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/tweaker
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/tweaker')
-rw-r--r--abs/core-testing/tweaker/PKGBUILD21
1 files 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
}