diff options
-rw-r--r-- | libre/audacious-plugins/PKGBUILD | 78 |
1 files changed, 39 insertions, 39 deletions
diff --git a/libre/audacious-plugins/PKGBUILD b/libre/audacious-plugins/PKGBUILD index a6573f831..b93907ee6 100644 --- a/libre/audacious-plugins/PKGBUILD +++ b/libre/audacious-plugins/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 232383 2015-03-01 16:56:13Z bisson $ +# $Id: PKGBUILD 235430 2015-04-04 08:28:19Z foutrelis $ # Maintainer (Arch): Gaetan Bisson <bisson@archlinux.org> # Contributor (Arch): Alexander Fehr <pizzapunk gmail com> # Contributor (Arch): William Rea <sillywilly@gmail.com> @@ -7,12 +7,12 @@ # Contributor: Jorge Lopez <jorginho@parabola.nu> pkgname=audacious-plugins -pkgver=3.6 -pkgrel=2.parabola1 -pkgdesc='Plugins for Audacious, without nonfree plugins' -url='http://audacious-media-player.org/' -license=('GPL' 'GPL3' 'LGPL' 'custom:BSD') +pkgver=3.6.1 +pkgrel=1.parabola1 +pkgdesc="Plugins for Audacious, without nonfree plugins" arch=('i686' 'x86_64' 'mips64el') +url="http://audacious-media-player.org/" +license=('GPL' 'GPL3' 'LGPL' 'custom:BSD') # Licensing issues: # The plugins 'stereoplugin' and 'wavepack'have no license notice but I've been informed by an upstream dev, @@ -25,7 +25,7 @@ arch=('i686' 'x86_64' 'mips64el') replaces=($pkgname-libre) conflicts=($pkgname-libre) -makedepends=("audacious>=${pkgver}" +makedepends=("audacious>=$pkgver" 'glib2' 'python2' # for gdbus-codegen 'alsa-lib' 'pulseaudio' 'jack2' 'lame' 'libvorbis' 'flac' 'mpg123' 'faad2' 'ffmpeg' 'libmodplug' 'fluidsynth' 'libcdio-paranoia' 'libsidplayfp' 'wavpack' @@ -58,46 +58,46 @@ optdepends=('alsa-lib: Advanced Linux Sound Arch. output' 'libmms: libmms-based mms transport' 'libcue: CUE playlist format') -source=("http://distfiles.audacious-media-player.org/${pkgname}-${pkgver}.tar.bz2") -sha1sums=('1a0d46f5e8b6ff6fcce0e441818da234b8f1f020') +source=(http://distfiles.audacious-media-player.org/$pkgname-$pkgver.tar.bz2) +sha256sums=('0ae17d573dd094b3124e0bbec0c059c4ca668436830c922eb00f0b7eb9745195') prepare() { - cd "${srcdir}/${pkgname}-${pkgver}" - - # Retrieve upstream & remove plugin 'psf' due to issues mentioned above. - rm -rv src/psf - - # Get license notices out of custom-licensed packages - head -n 18 src/albumart/albumart.cc | cut -c 4- | tail -n 17 > ${srcdir}/LICENSE.albumart - head -n 17 src/alsa/alsa.cc | cut -c 4- | tail -n 16 > ${srcdir}/LICENSE.alsa - head -n 17 src/audpl/audpl.cc | cut -c 4- | tail -n 16 > ${srcdir}/LICENSE.audpl - head -n 18 src/cairo-spectrum/cairo-spectrum.cc | cut -c 4- | tail -n 17 > ${srcdir}/LICENSE.cairo-spectrum - head -n 17 src/compressor/compressor.cc | cut -c 4- | tail -n 16 > ${srcdir}/LICENSE.compressor - head -n 17 src/crossfade/crossfade.cc | cut -c 4- | tail -n 16 > ${srcdir}/LICENSE.crossfade - head -n 18 src/crystalizer/crystalizer.cc | cut -c 4- | tail -n 17 > ${srcdir}/LICENSE.crystalizer - head -n 18 src/lyricwiki/lyricwiki.cc | cut -c 4- | tail -n 17 > ${srcdir}/LICENSE.lyricwiki - head -n 19 src/mpg123/mpg123.cc | cut -c 4- | tail -n 18 > ${srcdir}/LICENSE.mpg123 - head -n 17 src/mpris2/plugin.cc | cut -c 4- | tail -n 16 > ${srcdir}/LICENSE.mpris2 - head -n 17 src/resample/resample.cc | cut -c 4- | tail -n 16 > ${srcdir}/LICENSE.resample - head -n 18 src/voice_removal/voice_removal.cc | cut -c 4- | tail -n 17 > ${srcdir}/LICENSE.voice_removal - head -n 25 src/xsf/corlett.cc | cut -c 2- | tail -n 23 > ${srcdir}/LICENSE.xfs + cd "$srcdir/$pkgname-$pkgver" + + # Retrieve upstream & remove plugin 'psf' due to issues mentioned above. + rm -rv src/psf + + # Get license notices out of custom-licensed packages + head -n 18 src/albumart/albumart.cc | cut -c 4- | tail -n 17 > $srcdir/LICENSE.albumart + head -n 17 src/alsa/alsa.cc | cut -c 4- | tail -n 16 > $srcdir/LICENSE.alsa + head -n 17 src/audpl/audpl.cc | cut -c 4- | tail -n 16 > $srcdir/LICENSE.audpl + head -n 18 src/cairo-spectrum/cairo-spectrum.cc | cut -c 4- | tail -n 17 > $srcdir/LICENSE.cairo-spectrum + head -n 17 src/compressor/compressor.cc | cut -c 4- | tail -n 16 > $srcdir/LICENSE.compressor + head -n 17 src/crossfade/crossfade.cc | cut -c 4- | tail -n 16 > $srcdir/LICENSE.crossfade + head -n 18 src/crystalizer/crystalizer.cc | cut -c 4- | tail -n 17 > $srcdir/LICENSE.crystalizer + head -n 18 src/lyricwiki/lyricwiki.cc | cut -c 4- | tail -n 17 > $srcdir/LICENSE.lyricwiki + head -n 19 src/mpg123/mpg123.cc | cut -c 4- | tail -n 18 > $srcdir/LICENSE.mpg123 + head -n 17 src/mpris2/plugin.cc | cut -c 4- | tail -n 16 > $srcdir/LICENSE.mpris2 + head -n 17 src/resample/resample.cc | cut -c 4- | tail -n 16 > $srcdir/LICENSE.resample + head -n 18 src/voice_removal/voice_removal.cc | cut -c 4- | tail -n 17 > $srcdir/LICENSE.voice_removal + head -n 25 src/xsf/corlett.cc | cut -c 2- | tail -n 23 > $srcdir/LICENSE.xfs } build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "$srcdir/$pkgname-$pkgver" - ./configure \ - --prefix=/usr \ - --enable-amidiplug \ - --disable-adplug \ - --disable-psf \ + ./configure \ + --prefix=/usr \ + --enable-amidiplug \ + --disable-adplug \ + --disable-psf \ - make + make } package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install - install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - install -m644 ${srcdir}/LICENSE.* "${pkgdir}/usr/share/licenses/${pkgname}" + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -m644 $srcdir/LICENSE.* "$pkgdir/usr/share/licenses/$pkgname" } |