diff options
-rw-r--r-- | libre/audacious-plugins/PKGBUILD (renamed from libre/audacious-plugins-libre/PKGBUILD) | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/libre/audacious-plugins-libre/PKGBUILD b/libre/audacious-plugins/PKGBUILD index 323eee1c4..ac2bdacea 100644 --- a/libre/audacious-plugins-libre/PKGBUILD +++ b/libre/audacious-plugins/PKGBUILD @@ -6,10 +6,9 @@ # Maintainer: Brendan Tildesley # Contributor: Jorge Lopez <jorginho@parabola.nu> -_pkgname=audacious-plugins -pkgname=audacious-plugins-libre +pkgname=audacious-plugins pkgver=3.5.1 -pkgrel=1 +pkgrel=1.parabola1 pkgdesc='Plugins for Audacious, without nonfree plugins' url='http://audacious-media-player.org/' license=('GPL' 'GPL3' 'LGPL' 'custom:BSD') @@ -24,9 +23,8 @@ arch=('i686' 'x86_64' 'mips64el') # # All the other custom licensed plugins I think are mostly modified BSD or ISC. -replaces=($_pkgname) -conflicts=($_pkgname) -provides=($_pkgname=$pkgver) +replaces=($pkgname-libre) +conflicts=($pkgname-libre) makedepends=("audacious>=${pkgver}" 'glib2' 'python2' # for gdbus-codegen @@ -61,11 +59,11 @@ 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") +source=("http://distfiles.audacious-media-player.org/${pkgname}-${pkgver}.tar.bz2") sha1sums=('c066f79ca1f213c998b651250d02a84982556946') prepare() { - cd "${srcdir}/${_pkgname}-${pkgver}" + cd "${srcdir}/${pkgname}-${pkgver}" # Retrieve upstream & remove plugin 'psf' due to issues mentioned above. rm -rv src/psf @@ -73,7 +71,7 @@ prepare() { # Get license notices out of custom-licensed packages cd src - tmpdir=$(mktemp -d /tmp/${_pkgname}-${pkgver}-XXXX) + tmpdir=$(mktemp -d /tmp/${pkgname}-${pkgver}-XXXX) head -n 18 albumart/albumart.c | cut -c 4- | tail -n 17 > ${tmpdir}/LICENSE.albumart head -n 17 alsa/alsa.c | cut -c 4- | tail -n 16 > ${tmpdir}/LICENSE.alsa head -n 17 audpl/audpl.c | cut -c 4- | tail -n 16 > ${tmpdir}/LICENSE.audpl @@ -110,7 +108,7 @@ prepare() { } build() { - cd "${srcdir}/${_pkgname}-${pkgver}" + cd "${srcdir}/${pkgname}-${pkgver}" ./configure \ --prefix=/usr \ @@ -121,7 +119,7 @@ build() { } package() { - cd "${srcdir}/${_pkgname}-${pkgver}" + cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |