[aur-general] [AUR4] Single binary package for different architectures

Maxime Gauduin alucryd at archlinux.org
Thu Jun 25 15:50:53 UTC 2015


On Thu, Jun 25, 2015 at 5:27 PM, Doug Newgard <scimmia at archlinux.info>
wrote:

> On Thu, 25 Jun 2015 12:15:01 -0300
> Hugo Osvaldo Barrera <hugo at barrera.io> wrote:
>
> >
> >
> > Why not just name them the same locally?
> >
> > source_i686=("$pkgname-$pkgver::
> http://example.com/release-${pkgver}-i386.tar.gz")
> > md5sums_i686=('ffeeddccbbaa99887766554433221100')
> > source_x86_64=("$pkgname-$pkgver::
> http://example.com/release-${pkgver}-x86_64.tar.gz")
> > md5sums_x86_64=('00112233445566778899aabbccddeeff')
> >
> > package() {
> >   tar xf $pkgname-$pkgver
> >   ...
> > }
> >
>
> That creates problems verifying the checksums.
>

Exactly, read a couple emails back. Also why would you want to decompress
the source tarball in the package function? The source for your particular
arch, and only that one, is already decompressed by bsdtar, no need for
that extra step. See [1] for instance.

[1]
https://aur4.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=plex-media-server

Cheers,
--
Maxime


More information about the aur-general mailing list