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='https://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='https://github.com/MidnightCommander/mc.git'
20 if [[ -d $_gitname ]]; then
25 git clone -v $_gitroot
28 # http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=dcui/mc&id=338da10abcd744ab75dfb184f8f81370727e5653
29 sed -i 's/pkglibexec_SCRIPTS = $(SCRIPTS_OUT)/pkgdata_SCRIPTS = $(SCRIPTS_OUT)/g' contrib/Makefile.am
31 export MCREVISION=$(git describe --tags)
35 --libexecdir=/usr/lib \
49 --without-included-gettext \
50 --disable-dependency-tracking
56 make DESTDIR="$pkgdir" install
59 # vim:set ts=2 sw=2 ft=sh et: