summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/tweaker
diff options
context:
space:
mode:
authorBob Igo <bob@stormlogic.com>2009-02-03 16:02:56 (GMT)
committerBob Igo <bob@stormlogic.com>2009-02-03 16:02:56 (GMT)
commit1a8433a3240525038ae750b90c358ecbe15882c2 (patch)
tree4b13679bdf0e6d94e85f9c8222508be909d6fb18 /abs/core-testing/tweaker
parent47f97e1953d70596531c40816faf3c325ed0d47d (diff)
downloadlinhes_pkgbuild-1a8433a3240525038ae750b90c358ecbe15882c2.zip
linhes_pkgbuild-1a8433a3240525038ae750b90c358ecbe15882c2.tar.gz
linhes_pkgbuild-1a8433a3240525038ae750b90c358ecbe15882c2.tar.bz2
90% working Tweaker PKGBUILD file; committing for feedback
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
}