# $Id$ # Maintainer: schuay # Contributor: Daniel J Griffiths pkgname=mc pkgver=4.8.16 pkgrel=2 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' 'unzip') 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=('bbbcbe3097d3160f865d24aa38ff122f1c59752b5ef153ca4ade5ac0f82b7020') 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 }