You are not logged in.

#1 2006-09-29 10:51:57

karsten
Member
Registered: 2006-07-14
Posts: 261

app won't run after it goes through makepkg

edit--it works under sudo so it looks like it's a permissions thing.  i can probably get it.

hi, i keep getting an

 appstub.linux signal handler 11

error when trying to run this program after it installs, even installing it to homedir with write permissions doesn't help :-/  it looks like it might be a file permissions problem b/c it's a .zip file for source, and some of them seem to change when it gets extracted, but i can't track it down.  can anyone figure it out?

# Contributor: karsten <orbitcoder>
pkgname=gridwars
pkgver=9.3.2006
pkgrel=1
pkgdesc="Grid Wars2 is a PC version of the popular Xbox 360 game, Geometry Wars. Made by Mark Incitti."
arch=(i686 x86_64)
url="http://gridwars.marune.de/"
license="GPL"
depends=('unzip' 'xorg')
source=(http://gridwars.marune.de/bin/gridwars_lin.zip 
    gridwars.desktop 
    hiscores.dat)
md5sums=('15a03f8c8855f3ef93c5821f39ced356' 
     '30662ca1a3a6413db80e6db628b11498')

build() {

#  mkdir -p $startdir/src/$pkgname.tmp
#  unzip gridwars_lin.zip -d $startdir/src/$pkgname.tmp

  chmod -R 644 $startdir/src
  chmod 755 $startdir/src/hiscores.dat
  chmod +x $startdir/src/gridwars
  
#  mv $startdir/src/* $startdir/src/$pkgname.tmp
#  mv $startdir/src/$pkgname.tmp/gridwars_lin.zip $startdir/src/
#  mv $startdir/src/$pkgname.tmp/gridwars.desktop $startdir/src/
#  mv $startdir/src/$pkgname.tmp $startdir/src/$pkgname

  mkdir -p $startdir/pkg/usr/  
  mkdir -p $startdir/pkg/usr/share
  mkdir -p $startdir/pkg/usr/share/$pkgname
  cp -R $startdir/src/* $startdir/pkg/usr/share/$pkgname

  mkdir -p $startdir/pkg/usr/share/applications
  cp $startdir/src/gridwars.desktop $startdir/pkg/usr/share/applications

  mkdir -p $startdir/pkg/usr/share/pixmaps
  cp $startdir/src/gfx/High/pinkpinwheel.png $startdir/pkg/usr/share/pixmaps

  cp $startdir/src/hiscores.dat $startdir/pkg/usr/share/$pkgname
}

Offline

Board footer

Powered by FluxBB