From 9e33e16c2e12009cca2cdec1e03e80dd7f275b11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Sun, 12 Jan 2014 06:24:40 -0200 Subject: audacious-plugins-libre: add mksource due to freedom issues mentioned about psf on the PKGBUILD --- libre/audacious-plugins-libre/PKGBUILD | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'libre/audacious-plugins-libre/PKGBUILD') diff --git a/libre/audacious-plugins-libre/PKGBUILD b/libre/audacious-plugins-libre/PKGBUILD index d024c42d0..54a4d0c52 100644 --- a/libre/audacious-plugins-libre/PKGBUILD +++ b/libre/audacious-plugins-libre/PKGBUILD @@ -60,13 +60,20 @@ 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=('bcccd4304692a62d1b7963322f64059a0fb9532a') +mksource=("http://distfiles.audacious-media-player.org/${_pkgname}-${pkgver}.tar.bz2") +source=("https://repo.parabolagnulinux.org/sources/${pkgname}-${pkgver}.tar.bz2") +mksha1sums=('bcccd4304692a62d1b7963322f64059a0fb9532a') +sha1sums=('20b130ffbf37efd7135c8ac91a39ec6e03f189c4') -prepare() { - # Retrieve upstream & remove plugin 'psf' due to issues mentioned above. - sed -i s/enable_psf=yes/enable_psf=no/ ${_pkgname}-$pkgver/configure +mksource() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + # Retrieve upstream & remove plugin 'psf' due to issues mentioned above. + rm -rv src/psf + sed -i s/enable_psf=yes/enable_psf=no/ configure +} +prepare() { cd "${srcdir}/${_pkgname}-${pkgver}" # Get license notices out of custom-licensed packages -- cgit v1.2.3-2-g168b