summaryrefslogtreecommitdiff
path: root/libre/mc-libre/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-05-07 01:08:50 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-05-07 01:08:50 -0300
commit3fd53a0c0bad3c5d104f52a3c2d022c36161b5f1 (patch)
tree2fdd2afc48087a290697110b25094c0a8d8dedaf /libre/mc-libre/PKGBUILD
parentb134b68bebeef368b1cd598e4fb5071bb9008df2 (diff)
downloadabslibre-3fd53a0c0bad3c5d104f52a3c2d022c36161b5f1.tar.gz
abslibre-3fd53a0c0bad3c5d104f52a3c2d022c36161b5f1.tar.bz2
abslibre-3fd53a0c0bad3c5d104f52a3c2d022c36161b5f1.zip
mc-libre-4.8.12-1.1: remove nonfree unace, unarj and unrar support
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')