Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Someone
Tuesday, October 12th, 2010 at 1:48:16am UTC 

  1. # Contributor: Peter Vogl <[email protected]>
  2. # Contributor: Jose Valecillos <valecillosjg (at) gmail (dot) com>
  3. # Contributor: LeeF <leef (at) hushmail (dot) com>
  4. pkgname=avg-free
  5. pkgver=r855_a3656
  6. pkgrel=1
  7. pkgdesc="AVG free anti-virus for private, non-commercial, single home computer use only"
  8. url="http://free.grisoft.com"
  9. makedepends=('rpmextract' 'coreutils')
  10. arch=('i686' 'x86_64')
  11. [ "$CARCH" = "i686" ] && depends=('glibc' 'expat')
  12. [ "$CARCH" = "x86_64" ] && depends=('lib32-glibc' 'lib32-expat')
  13. source=(http://aa-download.avg.com/filedir/inst/avg85flx-${pkgver//_/-}.i386.rpm avgd)
  14. install=avg-free.install
  15. license=('Free for Private Use')
  16. md5sums=('7278ab598b1872ecbdb9d6e2c6b98fae'
  17.          '45d3c64133167fcd4d1f885f90c64ea3')
  18.  
  19. build() {
  20.   cd $srcdir/
  21.   rpmextract.sh avg85flx-${pkgver//_/-}.i386.rpm
  22.   # The line below is REALLY required
  23.   chmod 755 `ls -AFR $srcdir/ | grep : | tr -d ':'`
  24.   cp -a $srcdir/usr $pkgdir/
  25.   cp -a $srcdir/opt $pkgdir/
  26.   cp -a $srcdir/etc $pkgdir/
  27.   mkdir -p $pkgdir/etc/rc.d
  28.   cp $startdir/avgd $pkgdir/etc/rc.d
  29.   #rm -f $pkgdir/etc/avg.conf
  30.   #cp $startdir/avg.conf $pkgdir/etc/avg.conf
  31.  
  32.   sed 's/\/var\/lock\/subsys/\/var\/lock/g' $pkgdir/opt/avg/avg8/etc/init.d/avgdinit.conf >> $pkgdir/opt/avg/avg8/etc/init.d/avgdinit.conf
  33.  
  34.   #Copy licence key for post installation registration
  35.  
  36.   strings *.rpm | grep FREE | sed -n 's/.*"\(.*\)".*/\1/ip;T;q' >> $pkgdir/opt/avg/avg8/KEY
  37.  
  38. }

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus