# $Id$ # Maintainer: schuay # Contributor: Daniel J Griffiths pkgname=mc pkgver=4.8.15 pkgrel=1 pkgdesc="Midnight Commander is a text based filemanager/shell that emulates Norton Commander" arch=('i686' 'x86_64') url="http://www.ibiblio.org/mc/" license=('GPL') depends=('e2fsprogs' 'glib2' 'gpm' 'libssh2' 'slang') makedepends=('libxt' 'libx11') 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/mc.ext' 'etc/mc/mc.keymap' 'etc/mc/mc.menu' 'etc/mc/mcedit.menu' 'etc/mc/sfs.ini') options=('!emptydirs') source=("http://ftp.midnight-commander.org/${pkgname}-${pkgver}.tar.xz") sha256sums=('cf4e8f5dfe419830d56ca7e5f2495898e37ebcd05da1e47ff7041446c87fba16') build() { export PYTHON=/usr/bin/python2 cd ${pkgname}-${pkgver} ./configure \ --prefix=/usr \ --libexecdir=/usr/lib \ --sysconfdir=/etc \ --enable-vfs-smb \ --with-x make } package() { cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install }