On 03/13/2011 07:16 PM, Dave Reisner wrote:
> On Sun, Mar 13, 2011 at 07:11:47PM -0700, Tony C wrote:
>> On 03/13/2011 06:58 PM, Dave Reisner wrote:
>>> On Sun, Mar 13, 2011 at 06:47:53PM -0700, Tony C wrote:
>>>> Prior to AUR 1.8.1 being deployed, I could upload a *.tar.gz containing
>>>> my PKGBUILD to AUR. Now with AUR 1.8.1, here I am trying to upload an
>>>> updated PKGBUILD which I have verified does exist within my *.tar.gz -
>>>> yet the AUR web-interface refuses to acknowledge that my PKGBUILD exists
>>>> as I get stumped with *"**Error trying to unpack upload - PKGBUILD does
>>>> not exist."
>>>>
>>>> *Does this sound like a possible bug with AUR 1.8.1? I would like to
>>>> think I have been quite diligent with the whole AUR process, but as I
>>>> said this little road block has got me stumped with AUR 1.8.1
>>>> -- 
>>>> Tony
>>> I haven't had any problems posting PKGBUILDs since 1.8.1. There were,
>>> however, some new rules added to reject malformed sourceballs. Are you
>>> using makepkg --source to build your tarball for upload?
>>>
>>> dave
>> I have tried with 'makepkg --source', and also manually creating my
>> tarball with 'tar cvzf package.tar.gz PKGBUILD' verifying the PKGBUILD
>> exists inside the tarball with 'tar tf' yet AUR still complains with the
>> same error with both attempts. Really strange.
>> -- 
>> Tony
> Would be helpful if you could post the problematic PKGBUILD. It may be
> that the AUR is giving you a bogus error. I just tried uploading a few
> minutes ago and had no issues.
>
> dave
>
Here is the build. I really do not see any reason why the build is being
rejected, I would have to agree that this is a bogus error.

-- 
Tony
# Maintainer: CRT <[email protected]>
# Contributor: Sébastien Duquette <[email protected]>
# Contributor: damir <[email protected]>
# Contributor: Damir Perisa <[email protected]>

pkgname=lft
pkgver=3.31
pkgrel=1
pkgdesc="A layer four traceroute implementing numerous other features"
arch=('i686' 'x86_64')
license=('custom')
url="http://oppleman.com/lft/";
depends=('glibc' 'libpcap>=1.0.0')
source=("http://pwhois.org/dl/index.who?file=${pkgname}-${pkgver}.tar.gz";)
md5sums=('57c95e3eb6eae1f169c587cf029bd4db')

build() {
  cd "${srcdir}/$pkgname-$pkgver"
  ./configure --prefix=/usr
  make 
}  

package() {
  cd "${srcdir}/$pkgname-$pkgver"
  make prefix="${pkgdir}"/usr install
  
  install -D -d -m755 "${pkgdir}"/usr/share
  install -D -m644 "${srcdir}/$pkgname-$pkgver"/COPYING \
    "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE
}

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to