Date: Saturday, February 17, 2018 @ 21:28:00 Author: bpiotrowski Revision: 296177
archrelease: copy trunk to community-testing-x86_64 Added: mc/repos/community-testing-x86_64/PKGBUILD (from rev 296176, mc/trunk/PKGBUILD) Deleted: mc/repos/community-testing-x86_64/PKGBUILD ----------+ PKGBUILD | 122 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 61 insertions(+), 61 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-02-17 21:27:54 UTC (rev 296176) +++ PKGBUILD 2018-02-17 21:28:00 UTC (rev 296177) @@ -1,61 +0,0 @@ -# $Id$ -# Maintainer: schuay <jakob.gru...@gmail.com> -# Contributor: Daniel J Griffiths <ghost1...@archlinux.us> - -pkgname=mc -pkgver=4.8.20 -pkgrel=2 -pkgdesc="Midnight Commander is a text based filemanager/shell that emulates Norton Commander" -arch=('x86_64') -url="http://www.ibiblio.org/mc/" -license=('GPL') -depends=('e2fsprogs' 'glib2' 'gpm' 'libssh2' 'ncurses') -makedepends=('libxt' 'libx11' 'unzip') -optdepends=('aspell: spelling corrections' - 'cabextract: ucab extfs' - 'cdparanoia: audio extfs' - 'cdrkit: iso9660 extfs' - 'cvs: CVS support' - 'gawk: hp48+ extfs' - 'mtools: a+ extfs' - 'p7zip: support for 7zip archives' - 'perl: needed by several extfs scripts' - 'python2-boto: s3+ extfs' - 'python2-pytz: s3+ extfs' - 'samba: VFS support' - 'unace: uace extfs' - 'unarj: uarj extfs' - 'unrar: urar extfs' - 'zip: uzip extfs') -backup=('etc/mc/edit.indent.rc' - 'etc/mc/filehighlight.ini' - 'etc/mc/mc.ext' - 'etc/mc/mc.keymap' - 'etc/mc/mc.menu' - 'etc/mc/mcedit.menu' - 'etc/mc/sfs.ini') -options=('!emptydirs') -source=("http://ftp.midnight-commander.org/${pkgname}-${pkgver}.tar.xz") -sha256sums=('017ee7f4f8ae420a04f4d6fcebaabe5b494661075c75442c76e9c8b1923d501c') - -build() { - export PYTHON=/usr/bin/python2 - - cd ${pkgname}-${pkgver} - ./configure \ - --prefix=/usr \ - --libexecdir=/usr/lib \ - --sysconfdir=/etc \ - --enable-vfs-smb \ - --with-screen=ncurses \ - --with-x - make -} - -package() { - cd ${pkgname}-${pkgver} - make DESTDIR="${pkgdir}" install - - # Replace mc.keymap symlink with target file to fix backup mechanism (FS#50889). - rm "${pkgdir}"/etc/mc/mc.keymap && cp "${pkgdir}"/etc/mc/mc{.default,}.keymap -} Copied: mc/repos/community-testing-x86_64/PKGBUILD (from rev 296176, mc/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-02-17 21:28:00 UTC (rev 296177) @@ -0,0 +1,61 @@ +# $Id$ +# Maintainer: schuay <jakob.gru...@gmail.com> +# Contributor: Daniel J Griffiths <ghost1...@archlinux.us> + +pkgname=mc +pkgver=4.8.20 +pkgrel=3 +pkgdesc="Midnight Commander is a text based filemanager/shell that emulates Norton Commander" +arch=('x86_64') +url="http://www.ibiblio.org/mc/" +license=('GPL') +depends=('e2fsprogs' 'glib2' 'gpm' 'libssh2' 'slang') +makedepends=('libxt' 'libx11' 'unzip') +optdepends=('aspell: spelling corrections' + 'cabextract: ucab extfs' + 'cdparanoia: audio extfs' + 'cdrkit: iso9660 extfs' + 'cvs: CVS support' + 'gawk: hp48+ extfs' + 'mtools: a+ extfs' + 'p7zip: support for 7zip archives' + 'perl: needed by several extfs scripts' + 'python2-boto: s3+ extfs' + 'python2-pytz: s3+ extfs' + 'samba: VFS support' + 'unace: uace extfs' + 'unarj: uarj extfs' + 'unrar: urar extfs' + 'zip: uzip extfs') +backup=('etc/mc/edit.indent.rc' + 'etc/mc/filehighlight.ini' + 'etc/mc/mc.ext' + 'etc/mc/mc.keymap' + 'etc/mc/mc.menu' + 'etc/mc/mcedit.menu' + 'etc/mc/sfs.ini') +options=('!emptydirs') +source=("http://ftp.midnight-commander.org/${pkgname}-${pkgver}.tar.xz") +sha256sums=('017ee7f4f8ae420a04f4d6fcebaabe5b494661075c75442c76e9c8b1923d501c') + +build() { + export PYTHON=/usr/bin/python2 + + cd ${pkgname}-${pkgver} + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib \ + --sysconfdir=/etc \ + --enable-vfs-smb \ + --with-screen=slang \ + --with-x + make +} + +package() { + cd ${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install + + # Replace mc.keymap symlink with target file to fix backup mechanism (FS#50889). + rm "${pkgdir}"/etc/mc/mc.keymap && cp "${pkgdir}"/etc/mc/mc{.default,}.keymap +}