summaryrefslogtreecommitdiff
path: root/libre/audacious-plugins-libre/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-01-12 06:24:40 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-01-12 06:24:40 -0200
commit9e33e16c2e12009cca2cdec1e03e80dd7f275b11 (patch)
tree5279d2e39530b4aaf32939c8a09d9812a1c25313 /libre/audacious-plugins-libre/PKGBUILD
parentad9058d39e7382c5ec0330453518c2ebc15e18b1 (diff)
audacious-plugins-libre: add mksource due to freedom issues mentioned about psf on the PKGBUILD
Diffstat (limited to 'libre/audacious-plugins-libre/PKGBUILD')
-rw-r--r--libre/audacious-plugins-libre/PKGBUILD17
1 files changed, 12 insertions, 5 deletions
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