summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/tweaker/PKGBUILD
blob: a11643bc8cc690ee9c96b06b8dd37857279c74f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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=(${pkgname}.tar.bz2 tweaker.sh log4perl.conf)

license=('GPL2')
#groups=('pvr')


#install=tweaker.install
build() {
   TWEAKER_ROOT=$startdir/pkg/usr/LH/tweaker
   cd $startdir/src/ || return 1
   mkdir -p $TWEAKER_ROOT/bin
   mkdir -p $startdir/pkg/etc/profile.d
   install -m0755 tweaker.sh $startdir/pkg/etc/profile.d/tweaker.sh
   install -m0755 log4perl.conf $TWEAKER_ROOT/log4perl.conf

   #copy binary files
   cd usr/local/bin
   install -m0755 *  $TWEAKER_ROOT/bin/
   rm -f  $TWEAKER_ROOT/bin/tweaker-installer.sh

#copied lib from km 5.5 because it was missing from the tar file
  mkdir -p $TWEAKER_ROOT
  cd $startdir/src/usr/LH/tweaker
  cp -rp  * $TWEAKER_ROOT

}