summaryrefslogtreecommitdiff
path: root/libre/mc-libre/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/mc-libre/PKGBUILD')
-rw-r--r--libre/mc-libre/PKGBUILD20
1 files changed, 15 insertions, 5 deletions
diff --git a/libre/mc-libre/PKGBUILD b/libre/mc-libre/PKGBUILD
index c9f3d03dd..2da038816 100644
--- a/libre/mc-libre/PKGBUILD
+++ b/libre/mc-libre/PKGBUILD
@@ -7,9 +7,9 @@
_pkgname=mc
pkgname=mc-libre
pkgver=4.8.12
-pkgrel=1
-pkgdesc="Midnight Commander is a text based filemanager/shell that emulates Norton Commander, with arj recommendation included and nonfree unace and unrar recommendation removed"
-arch=('i686' 'x86_64')
+pkgrel=1.1
+pkgdesc="Midnight Commander is a text based filemanager/shell that emulates Norton Commander, with arj recommendation included and nonfree unace and unrar support removed"
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.ibiblio.org/mc/"
license=('GPL')
depends=(
@@ -45,7 +45,16 @@ backup=('etc/mc/edit.indent.rc'
'etc/mc/mc.keymap'
'etc/mc/mc.menu'
'etc/mc/sfs.ini')
-source=("http://www.midnight-commander.org/downloads/${_pkgname}-${pkgver}.tar.bz2")
+source=("http://www.midnight-commander.org/downloads/${_pkgname}-${pkgver}.tar.bz2"
+ 'libre.patch')
+
+prepare() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+
+ patch -Np1 -i ../libre.patch
+ rm -v src/vfs/extfs/helpers/u{ace,rar}.in
+}
+
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
@@ -69,4 +78,5 @@ package() {
-i "${pkgdir}/usr/lib/mc/extfs.d/s3+"
}
-md5sums=('a64c426364bfaee56b628f6c0738aade')
+md5sums=('a64c426364bfaee56b628f6c0738aade'
+ '008b3132beba7061578a6a59885f93f8')