summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-02-26 00:39:53 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-02-26 00:39:53 -0200
commit60ac1e9972a5f8353aa8f0fbf81b92a5441d80e0 (patch)
treec5689419bb90764ad8d5ceff3806f2897c3ea38e
parent952a33e8423cf99fc8f617b99243d99a5e966fff (diff)
downloadabslibre-60ac1e9972a5f8353aa8f0fbf81b92a5441d80e0.tar.gz
abslibre-60ac1e9972a5f8353aa8f0fbf81b92a5441d80e0.tar.bz2
abslibre-60ac1e9972a5f8353aa8f0fbf81b92a5441d80e0.zip
xbmc-libre-12.3-9.1: remove unrar files from the source
-rw-r--r--libre/xbmc-libre/PKGBUILD19
1 files changed, 14 insertions, 5 deletions
diff --git a/libre/xbmc-libre/PKGBUILD b/libre/xbmc-libre/PKGBUILD
index 6d883edd9..15a664a15 100644
--- a/libre/xbmc-libre/PKGBUILD
+++ b/libre/xbmc-libre/PKGBUILD
@@ -4,6 +4,7 @@
# Contributor: [vEX] <niechift.dot.vex.at.gmail.dot.com>
# Contributor: Zeqadious <zeqadious.at.gmail.dot.com>
# Contributor: BlackIkeEagle < ike DOT devolder AT gmail DOT com >
+# Maintainer (Parabola): André Silva <emulatorman@parabola.nu>
_prefix=/usr
@@ -11,8 +12,8 @@ _pkgname=xbmc
pkgname=xbmc-libre
pkgver=12.3
_codename=Frodo
-pkgrel=9
-pkgdesc="A software media player and entertainment hub for digital media, with libarchive recommendation and without nonfree components"
+pkgrel=9.1
+pkgdesc="A software media player and entertainment hub for digital media, without unrar support"
arch=('i686' 'x86_64')
url="http://xbmc.org"
license=('GPL' 'custom')
@@ -28,21 +29,29 @@ optdepends=('libcec: support for Pulse-Eight USB-CEC adapter'
'lirc: remote controller support'
'udisks: automount external drives'
'upower: used to trigger power management functionality'
- 'libarchive: access compressed files without unpacking them'
'xorg-xinit: autostart xbmc')
install="${_pkgname}.install"
replaces=$_pkgname
conflicts=$_pkgname
provides=$_pkgname=$pkgver
-source=("http://mirrors.xbmc.org/releases/source/xbmc-$pkgver.tar.gz"
+mksource=("http://mirrors.xbmc.org/releases/source/xbmc-$pkgver.tar.gz")
+source=("https://repo.parabolagnulinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz"
"xbmc.service"
"polkit.rules"
"libass.patch::https://bugs.archlinux.org/index.php?getfile=11285")
-md5sums=('7ae385ebf8e5cfcb917393235e6efbdb'
+mkmd5sums=('7ae385ebf8e5cfcb917393235e6efbdb')
+md5sums=('7c71af50af55b097e4365a58b70754e8'
'4d3cc17703a9a477a32db486c257a305'
'02f7951824ee13103344f36009c0ef2a'
'7fd6399d2ffbdf06b724f0cc2efa0784')
+mksource() {
+ cd "${srcdir}/xbmc-$pkgver-$_codename"
+
+ # remove unrar files from the source
+ rm -rv lib/UnrarXLib
+}
+
prepare() {
cd "${srcdir}/xbmc-$pkgver-$_codename"