1 # Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>
2 # Contributor: Tsekhovoy Eugene aka Krash <8552246@gmail.com>
7 pkgdesc="GNU Midnight Commander is a s-lang based file manager"
8 url="http://midnight-commander.org/"
11 depends=('glib2' 'slang' 'perl')
12 makedepends=('git' 'cvs')
13 conflicts=('mc' 'mc-cvs' 'mc-fork-svn' 'mc-mp' 'mc-slavz' 'mc-suse')
16 _gitroot="http://midnight-commander.org/git/mc.git"
22 msg "Connecting to the git repository..."
23 if [ -d ${srcdir}/${_gitname} ]; then
27 git clone -v "${_gitroot}"
29 msg "GIT checkout done or server timeout"
31 rm -rf ${srcdir}/${_gitname}-build
32 cp -r ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
33 cd ${srcdir}/${_gitname}-build
37 export MCREVISION="$(git describe --tags)"
43 --libexecdir=/usr/lib \
57 --without-included-gettext \
58 --disable-dependency-tracking
60 msg "Starting make..."
62 make DESTDIR=${pkgdir} install || return 1
65 # vim:set ts=2 sw=2 ft=sh et: