PKGBUILDs/community/mc-mp/PKGBUILD
2009-10-09 21:15:33 -05:00

33 lines
1.1 KiB
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=mc-mp
_pkgname=mc
pkgver=4.1.40_pre9
_pkgver=4.1.40-pre9
pkgrel=3
pkgdesc="stable, well-working, usefull console-only version of well-known Midnight Commander"
arch=(i686 x86_64)
url="http://mc.linuxinside.com/"
license=('GPL')
depends=(gpm pam e2fsprogs)
makedepends=(pkgconfig patch)
conflicts=(mc)
source=(http://mc.linuxinside.com/Releases/$_pkgname-$_pkgver.tar.bz2 \
build-fix.patch)
md5sums=('9335f2b131ecf352c2c0e55a477a1c49'
'0a91ad67458758194d911d540fecb7d6')
build() {
cd ${startdir}/src/$_pkgname-$_pkgver
patch -Np1 < $srcdir/build-fix.patch || return 1
# patch -Np1 < $srcdir/mc-mp_gcc.patch || return 1
./configure --without-gnome --without-debug --with-included-slang --without-included-gettext \
--enable-largefile --with-subshell --with-edit --with-vfs --with-samba --with-mmap \
--without-x --with-gpm-mouse --enable-charset --disable-nls --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
}