You are not logged in.

#1 2013-04-08 14:47:58

tgessler
Member
Registered: 2013-04-08
Posts: 4

makepkg of fxload produces empty package

When I try to run makepkg 4.1.0 on the fxload AUR package, it runs without errors but produces a package without any binaries.

For details, please see my comment at: https://aur.archlinux.org/packages/fxload/

Offline

#2 2013-04-08 15:43:11

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,092
Website

Re: makepkg of fxload produces empty package

You really should heed makepkg's warning about using a package function. The real problem is that you're referring to $startdir/src and $startdir/pkg rather than $srcdir and $pkgdir.

Offline

#3 2013-04-08 21:52:47

tgessler
Member
Registered: 2013-04-08
Posts: 4

Re: makepkg of fxload produces empty package

Thank you! I replaced

build() {
  cd $startdir/src/$pkgname-$pkgver
  make || return 1
  make exec_prefix=$startdir/pkg/ prefix=$startdir/pkg/ install
}

in the PKGBUILD with:

build() {
  cd $srcdir/$pkgname-$pkgver
  make || return 1
}

package() {
  cd $srcdir/$pkgname-$pkgver
  make exec_prefix=$pkgdir/ prefix=$pkgdir/ install
}

Now it works. Does this seem sane? Would the way to go now be to post this in the AUR comments and flag the package as out-of-date?

Last edited by tgessler (2013-04-08 21:53:08)

Offline

#4 2013-04-08 22:13:56

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,092
Website

Re: makepkg of fxload produces empty package

Get rid of the ||return 1. It hasn't been needed in years.

Would the way to go now be to post this in the AUR comments and flag the package as out-of-date?

Just post a comment. The package isn't out of date.

Offline

#5 2013-04-09 08:43:41

kokoko3k
Member
Registered: 2008-11-14
Posts: 1,432

Re: makepkg of fxload produces empty package

I tried to install advancemame from aur and it wastotally missing the package function.
It is not the only one, unfortunately.

Offline

Board footer

Powered by FluxBB