2 # AKulikov aka akm74 <info@akulikov.org.ua>
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' 'pkgconfig' 'automake' 'autoconf' 'cvs')
13 conflicts=('mc' 'mc-cvs' 'mc-fork-svn' 'mc-mp' 'mc-slavz' 'mc-suse')
16 _gitroot="git://midnight-commander.org/git/mc.git"
22 msg "Connecting to the git repository..."
23 if [ -d ${srcdir}/${_gitname} ]; then
27 git clone --depth 1 ${_gitroot}
29 msg "Checkout GIT 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
62 make DESTDIR=${pkgdir} install || return 1