diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-04-17 15:59:35 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-04-17 15:59:35 -0300 |
commit | 6fed2edc6f9533e7894bbbacdbd1dbbb50076b01 (patch) | |
tree | fae0fe13e944d0265e921e57e355718c3ccd3f10 /extra/mc/PKGBUILD.orig | |
parent | 048b7287473507b76146e58378f4bfcfacf1060b (diff) | |
parent | 84837d89991e1e82e5aef8e297541c572ebf2efa (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
extra/libmcs/PKGBUILD
extra/libmowgli/PKGBUILD
kde-unstable/kdepim/PKGBUILD
Diffstat (limited to 'extra/mc/PKGBUILD.orig')
-rw-r--r-- | extra/mc/PKGBUILD.orig | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/extra/mc/PKGBUILD.orig b/extra/mc/PKGBUILD.orig new file mode 100644 index 000000000..de4f212dd --- /dev/null +++ b/extra/mc/PKGBUILD.orig @@ -0,0 +1,57 @@ +# $Id: PKGBUILD 119545 2011-04-12 03:04:01Z eric $ +# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us> + +pkgname=mc +<<<<<<< HEAD +pkgver=4.7.5.1 +pkgrel=2 +pkgdesc="A filemanager/shell that emulates Norton Commander" +arch=('i686' 'x86_64' 'mips64el') +======= +pkgver=4.7.5.2 +pkgrel=1 +pkgdesc="Midnight Commander is a text based filemanager/shell that emulates Norton Commander" +arch=('i686' 'x86_64') +>>>>>>> 28b5bbf3fee0627993658e096eadab71c2779912 +url="http://www.ibiblio.org/mc/" +license=('GPL') +depends=('e2fsprogs' 'glib2' 'pcre' 'gpm' 'slang') +makedepends=('libxt' 'libx11') +optdepends=('p7zip: support for 7zip archives') +provides=('mcedit-pkgbuild-syntax') +conflicts=('mc-utf8') +replaces=('mc-utf8') +options=('!emptydirs' '!makeflags') +source=("http://www.midnight-commander.org/downloads/${pkgname}-${pkgver}.tar.bz2") +md5sums=('bdae966244496cd4f6d282d80c9cf3c6') +sha1sums=('08ffcc9fd19c7d8906a454c27b7074ca35bce14a') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure \ + --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man \ + --enable-background --enable-charset --enable-largefile \ + --with-edit --with-gpm-mouse --with-mmap --enable-vfs-smb \ + --with-screen=slang --with-subshell --with-vfs --with-x \ + --without-debug --without-gnome --without-included-gettext \ + --libexecdir=/usr/lib + + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install + + # Fix FS#15177 + sed 's|op_has_zipinfo = 0|op_has_zipinfo = 1|' \ + -i "${pkgdir}/usr/lib/mc/extfs.d/uzip" + + # Fix FS#18312 + rm "${pkgdir}/usr/lib/mc/extfs.d/u7z" + + sed 's#/usr/bin/env python#/usr/bin/python2#' \ + -i "${pkgdir}/usr/lib/mc/extfs.d/s3+" +} |