You are not logged in.

#1 2015-08-10 12:33:56

txrx
Member
Registered: 2014-07-06
Posts: 8

[Solved]Package changed overnight, no record of what happened.Confused

Am i going mad.

I've been staring at this one for ages. If i've missed something really obvious or there is a blog post about this, please let me know.


This package used to have the ability to download the tarball but now it doesn't? Where can i get that again?
It used to be located here https://aur.archlinux.org/packages/pe/p … cid.tar.gz


the google cached version of the PKGBUILD

looks(ed) like this.

# Maintainer: Eric Le Lay <cotcotpot at free dot fr>
_author=njh
_perlmod=MusicBrainz-DiscID
pkgname=perl-musicbrainz-discid
pkgver=0.03
pkgrel=2
pkgdesc="MusicBrainz::DiscID - Perl interface for the MusicBrainz libdiscid library"
arch=('i686' 'x86_64')
url="http://search.cpan.org/~$_author/$_perlmod-$pkgver/"
license=('GPL')
groups=()
depends=('perl>=5.10.0' 'libdiscid')
makedepends=('pkg-config')
provides=()
conflicts=()
replaces=()
backup=()
options=(!emptydirs)
install=
source=(http://www.cpan.org/authors/id/N/NJ/NJH/$_perlmod-$pkgver.tar.gz \
        pod-encoding.patch \
        new-musicbrainz-urls.patch
       )
md5sums=('4b775f38604f15fd20298d5b443d6900' \
         '03e9659f0e1a2923fb03b5aeb8d8ee53' \
         '4c38e6e6f20def002f6c4624b5604445')

prepare() {
  cd "$srcdir/$_perlmod-$pkgver"
  # fix a runny apostrophe,
  # see https://rt.cpan.org/Public/Bug/Display.html?id=85212
  chmod u+w lib/MusicBrainz/DiscID.pm
  patch -p1 -i "$srcdir/pod-encoding.patch" 
  # use new url in test,
  # see https://rt.cpan.org/Public/Bug/Display.html?id=89285
  chmod u+w t/10discid.t
  patch -p1 -i "$srcdir/new-musicbrainz-urls.patch" 
}
build() {
  cd "$srcdir/$_perlmod-$pkgver"
  
  # Setting these env variables overwrites any command-line-options we don't want...
  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps \
    PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
    PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
    MODULEBUILDRC=/dev/null

  { /usr/bin/perl Build.PL &&
    ./Build &&
    ./Build test; } || return 1
}

package() {
  cd "$srcdir/$_perlmod-$pkgver"
  
  # Setting these env variables overwrites any command-line-options we don't want...
  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps \
    PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
    PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
    MODULEBUILDRC=/dev/null

  { ./Build install; } || return 1
}
# vim:set ts=2 sw=2 et:

But this is different to the current PKGBUILD here

Yet there is no record of any change in the logs or diffs.

The previous Tarball worked and included a patch fix within in the PKGBUILD

patch -p1 -i "$srcdir/new-musicbrainz-urls.patch" 

but the new version doesn't work at all.

I'm very confused. If i've missed something ovious, i'll delete my account in shame.

Last edited by txrx (2015-08-10 13:41:08)

Offline

#2 2015-08-10 13:11:19

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved]Package changed overnight, no record of what happened.Confused

'Download snapshot' downloads a tarball.
Have you missed that we've transitioned to AUR4? https://wiki.archlinux.org/index.php/Ar … ry#History

Check out aur-mirror: http://pkgbuild.com/git/aur-mirror.git/ … inz-discid
No need to delete your account.

Last edited by karol (2015-08-10 13:14:04)

Offline

#3 2015-08-10 13:39:34

txrx
Member
Registered: 2014-07-06
Posts: 8

Re: [Solved]Package changed overnight, no record of what happened.Confused

yes, it appears i've missed the memo.

Offline

Board footer

Powered by FluxBB