diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-04 23:53:58 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-04 23:53:58 -0300 |
commit | aed41d3442274f5c5dccff6f51fdbbe19c379407 (patch) | |
tree | b97f268a2426734201e546fc0f2dc6f324115aeb /libre | |
parent | 730ac1fa5bef1ab3ecf8469a5b5913f0274dce8f (diff) | |
download | abslibre-aed41d3442274f5c5dccff6f51fdbbe19c379407.tar.gz abslibre-aed41d3442274f5c5dccff6f51fdbbe19c379407.tar.bz2 abslibre-aed41d3442274f5c5dccff6f51fdbbe19c379407.zip |
mc: remove libre suffix and add complex pkgrel
Diffstat (limited to 'libre')
-rw-r--r-- | libre/mc/PKGBUILD (renamed from libre/mc-libre/PKGBUILD) | 18 | ||||
-rw-r--r-- | libre/mc/libre.patch (renamed from libre/mc-libre/libre.patch) | 0 |
2 files changed, 8 insertions, 10 deletions
diff --git a/libre/mc-libre/PKGBUILD b/libre/mc/PKGBUILD index 4ad1a0338..0b10204ac 100644 --- a/libre/mc-libre/PKGBUILD +++ b/libre/mc/PKGBUILD @@ -4,10 +4,9 @@ # Maintainer: André Silva <emulatorman@parabola.nu> # Contributor: Márcio Silva <coadde@parabola.nu> -_pkgname=mc -pkgname=mc-libre +pkgname=mc pkgver=4.8.12 -pkgrel=1.1 +pkgrel=1.parabola1 pkgdesc="Midnight Commander is a text based filemanager/shell that emulates Norton Commander, with arj recommendation included and nonfree unace and unrar support removed" arch=('i686' 'x86_64' 'mips64el') url="http://www.ibiblio.org/mc/" @@ -34,9 +33,8 @@ optdepends=( 'arj: uarj extfs' 'zip: uzip extfs' 'p7zip: support for 7zip archives') -conflicts=('mc') -replaces=('mc') -provides=("mc=${pkgver}") +conflicts=('mc-libre') +replaces=('mc-libre') options=('!emptydirs' '!makeflags') backup=('etc/mc/edit.indent.rc' 'etc/mc/filehighlight.ini' @@ -45,11 +43,11 @@ backup=('etc/mc/edit.indent.rc' 'etc/mc/mc.keymap' 'etc/mc/mc.menu' 'etc/mc/sfs.ini') -source=("http://www.midnight-commander.org/downloads/${_pkgname}-${pkgver}.tar.bz2" +source=("http://www.midnight-commander.org/downloads/${pkgname}-${pkgver}.tar.bz2" 'libre.patch') prepare() { - cd "${srcdir}/${_pkgname}-${pkgver}" + cd "${srcdir}/${pkgname}-${pkgver}" patch -Np1 -i ../libre.patch rm -v src/vfs/extfs/helpers/u{ace,rar}.in @@ -57,7 +55,7 @@ prepare() { build() { - cd "${srcdir}/${_pkgname}-${pkgver}" + cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --sysconfdir=/etc --enable-vfs-smb \ --with-x --libexecdir=/usr/lib @@ -66,7 +64,7 @@ build() { } package() { - cd "${srcdir}/${_pkgname}-${pkgver}" + cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install diff --git a/libre/mc-libre/libre.patch b/libre/mc/libre.patch index df88e6c9f..df88e6c9f 100644 --- a/libre/mc-libre/libre.patch +++ b/libre/mc/libre.patch |