You are not logged in.

#1 2010-08-28 01:41:00

barebones
Member
Registered: 2006-04-30
Posts: 235

Trouble Submitting to AUR

I'm trying to upload a package I created to the AUR and for some reason the process won't complete. Whenever I try to upload the file, the page pauses for a moment and then goes completely white. This can sit there for a while, but nothing ever happens. The tar ball that I'm uploading was created by pacman --source and only contains a PKGBUILD and a .desktop file. Has anybody ever experience this behavior? Any ideas what might be causing it?

Thanks!

Offline

#2 2010-08-28 01:57:06

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: Trouble Submitting to AUR

Did you mean makepkg --source?


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#3 2010-08-28 02:23:03

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: Trouble Submitting to AUR

Post your PKGBUILD

Offline

#4 2010-08-28 02:30:40

barebones
Member
Registered: 2006-04-30
Posts: 235

Re: Trouble Submitting to AUR

Your right I meant makepkg --source, sorry!

The PKGBUILD is for loxodo:

pkgname=loxodo-git
pkgver=20100825
pkgrel=1
pkgdesc="Password Safe V3 compatible Password Vault"
arch=(any)
url="http://www.christoph-sommer.de/loxodo/"
license=('GPL')
depends=('python')
optdepends=('wxpython: for Wx GUI')
makedepends=('git')
source=("loxodo.desktop") 
md5sums=("f0508bd30c1fb235d1fc7165f2c97f63" )

_gitroot="http://github.com/sommer/loxodo.git"
_gitname="loxodo-src"

build() {
  cd ${srcdir}
  msg "Connecting to GIT server...."

  if [ -d "${srcdir}/${_gitname}" ] ; then
    cd ${_gitname} && git pull --rebase
  else
    git clone ${_gitroot} ${_gitname}
  fi

  msg "GIT checkout done or server timeout"

  msg "Starting make..."

  rm -rf "$srcdir/$_gitname-build"
  git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"

}
package() {

  _PYVER=`python -V 2>&1`
  _PYVER=${_PYVER##*\ } 
  _PYVER=${_PYVER%.*}
  
  _DESTDIR=/usr/lib/python$_PYVER/site-packages/$pkgname
  cd "$srcdir/$_gitname-build"
  
  mkdir -p $pkgdir/$_DESTDIR
  cp -r ${srcdir}/$_gitname-build/* ${pkgdir}/$_DESTDIR
  install -D -m755 ${srcdir}/loxodo.desktop ${pkgdir}/usr/share/applications/loxodo.desktop || return 1

  mkdir ${pkgdir}/usr/bin
  echo "python $_DESTDIR/loxodo.py" > ${pkgdir}/usr/bin/loxodo
  chmod +x ${pkgdir}/usr/bin/loxodo
  rm  -rf  $startdir/src/$_gitname-build
}

Offline

#5 2010-08-28 05:53:08

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: Trouble Submitting to AUR

I can't see anything there that would make AUR barf... Perhaps an AUR affectionado may need to weigh in. You might get better help on the AUR mailing list.

Offline

Board footer

Powered by FluxBB