Date: Tuesday, November 28, 2017 @ 19:51:13 Author: schuay Revision: 270513
archrelease: copy trunk to community-x86_64 Added: mc/repos/community-x86_64/PKGBUILD (from rev 270512, mc/trunk/PKGBUILD) Deleted: mc/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 120 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 60 insertions(+), 60 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-11-28 19:50:49 UTC (rev 270512) +++ PKGBUILD 2017-11-28 19:51:13 UTC (rev 270513) @@ -1,60 +0,0 @@ -# $Id$ -# Maintainer: schuay <jakob.gru...@gmail.com> -# Contributor: Daniel J Griffiths <ghost1...@archlinux.us> - -pkgname=mc -pkgver=4.8.19 -pkgrel=1 -pkgdesc="Midnight Commander is a text based filemanager/shell that emulates Norton Commander" -arch=('i686' '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=('eb9e56bbb5b2893601d100d0e0293983049b302c5ab61bfb544ad0ee2cc1f2df') - -build() { - export PYTHON=/usr/bin/python2 - - cd ${pkgname}-${pkgver} - ./configure \ - --prefix=/usr \ - --libexecdir=/usr/lib \ - --sysconfdir=/etc \ - --enable-vfs-smb \ - --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-x86_64/PKGBUILD (from rev 270512, mc/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-11-28 19:51:13 UTC (rev 270513) @@ -0,0 +1,60 @@ +# $Id$ +# Maintainer: schuay <jakob.gru...@gmail.com> +# Contributor: Daniel J Griffiths <ghost1...@archlinux.us> + +pkgname=mc +pkgver=4.8.20 +pkgrel=1 +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-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 +}