# Maintainer: Natanael Copa pkgname=mc pkgver=4.8.3 pkgrel=0 pkgdesc="A filemanager/shell that emulates Norton Commander" url="http://www.ibiblio.org/mc/" arch="all" license="GPL3+" depends="" subpackages="$pkgname-doc $pkgname-lang" makedepends="e2fsprogs-dev glib-dev pcre-dev slang-dev" source="http://www.midnight-commander.org/downloads/mc-$pkgver.tar.bz2" _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" ./configure --prefix=/usr \ --libexecdir=/usr/lib \ --mandir=/usr/share/man \ --sysconfdir=/etc \ --enable-background \ --enable-charset \ --enable-largefile \ --with-edit \ --with-mmap \ --with-screen=slang \ --with-subshell \ --with-vfs \ --without-debug \ --without-gnome \ --without-gpm-mouse \ --without-included-gettext \ --without-samba \ --without-x \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 } md5sums="12d38ad4969df3f8bbf66c3967a191ee mc-4.8.3.tar.bz2"