Date: Tuesday, March 1, 2016 @ 11:16:06 Author: schuay Revision: 163871
update PKGBUILD from FS#48365 Modified: mc/trunk/PKGBUILD ----------+ PKGBUILD | 77 ++++++++++++++++++++++++++----------------------------------- 1 file changed, 33 insertions(+), 44 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2016-03-01 10:09:34 UTC (rev 163870) +++ PKGBUILD 2016-03-01 10:16:06 UTC (rev 163871) @@ -1,6 +1,6 @@ # $Id$ +# Maintainer: schuay <[email protected]> # Contributor: Daniel J Griffiths <[email protected]> -# Maintainer: schuay <[email protected]> pkgname=mc pkgver=4.8.15 @@ -9,60 +9,49 @@ arch=('i686' 'x86_64') url="http://www.ibiblio.org/mc/" license=('GPL') -depends=( - 'e2fsprogs' - 'glib2' - 'gpm' - 'libssh2' - 'slang') +depends=('e2fsprogs' 'glib2' 'gpm' 'libssh2' 'slang') makedepends=('libxt' 'libx11') -optdepends=( - 'cabextract: ucab extfs' - 'cdparanoia: audio extfs' - 'cdrkit: iso9660 extfs' - 'gawk: hp48+ extfs' - 'aspell: spelling corrections' - 'cvs: CVS support' - 'mtools: a+ extfs' - 'perl: needed by several extfs scripts' - 'python2-boto: s3+ extfs' - 'python2-pytz: s3+ extfs' - 'samba: VFS support' - 'unace: uace extfs' - 'unarj: uarj extfs' - 'unrar: urar extfs' - 'zip: uzip extfs' - 'p7zip: support for 7zip archives') -options=('!emptydirs' '!makeflags') +optdepends=('aspell: spelling corrections' + 'cabextract: ucab extfs' + 'cdparanoia: audio extfs' + 'cdrkit: iso9660 extfs' + 'cvs: CVS support' + 'gawk: hp48+ extfs' + 'mtools: a+ extfs' + 'p7zip: support for 7zip archives' + 'perl: needed by several extfs scripts' + 'python2-boto: s3+ extfs' + 'python2-pytz: s3+ extfs' + 'samba: VFS support' + 'unace: uace extfs' + 'unarj: uarj extfs' + 'unrar: urar extfs' + 'zip: uzip extfs') backup=('etc/mc/edit.indent.rc' 'etc/mc/filehighlight.ini' - 'etc/mc/mcedit.menu' 'etc/mc/mc.ext' 'etc/mc/mc.keymap' 'etc/mc/mc.menu' + 'etc/mc/mcedit.menu' 'etc/mc/sfs.ini') -source=("http://www.midnight-commander.org/downloads/${pkgname}-${pkgver}.tar.bz2") +options=('!emptydirs') +source=("http://ftp.midnight-commander.org/${pkgname}-${pkgver}.tar.xz") +sha256sums=('cf4e8f5dfe419830d56ca7e5f2495898e37ebcd05da1e47ff7041446c87fba16') build() { - cd "${srcdir}/${pkgname}-${pkgver}" + export PYTHON=/usr/bin/python2 - ./configure --prefix=/usr --sysconfdir=/etc --enable-vfs-smb \ - --with-x --libexecdir=/usr/lib - - make + cd ${pkgname}-${pkgver} + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib \ + --sysconfdir=/etc \ + --enable-vfs-smb \ + --with-x + make } package() { - cd "${srcdir}/${pkgname}-${pkgver}" - - make DESTDIR="${pkgdir}" install - - # Fix FS#15177 - sed 's|op_has_zipinfo = 0|op_has_zipinfo = 1|' \ - -i "${pkgdir}/usr/lib/mc/extfs.d/uzip" - - sed 's#/usr/bin/env python#/usr/bin/python2#' \ - -i "${pkgdir}/usr/lib/mc/extfs.d/s3+" + cd ${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install } - -md5sums=('db48ce26ba425a61edc51930e94227fd')
