mc: treat .xbps as .tar.xz.
This commit is contained in:
parent
bee705b39c
commit
c2a819bd17
2 changed files with 14 additions and 1 deletions
13
srcpkgs/mc/patches/xbps.patch
Normal file
13
srcpkgs/mc/patches/xbps.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- misc/mc.ext.in 2017-08-21 19:28:49.638411103 +0200
|
||||
+++ misc/mc.ext.in 2017-08-21 19:38:05.633602005 +0200
|
||||
@@ -145,8 +145,8 @@
|
||||
Open=%cd %p/utar://
|
||||
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.lz4
|
||||
|
||||
-# .tar.xz, .txz
|
||||
-regex/\.t(ar\.xz|xz)$
|
||||
+# .tar.xz, .txz, .xbps
|
||||
+regex/\.(t(ar\.xz|xz)|xbps)$
|
||||
Open=%cd %p/utar://
|
||||
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.xz
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'mc'
|
||||
pkgname=mc
|
||||
version=4.8.19
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-screen=ncurses --without-x"
|
||||
hostmakedepends="pkg-config perl"
|
||||
|
|
Loading…
Reference in a new issue