added mc package

This commit is contained in:
Alexander Zhirov 2024-03-14 18:58:16 +03:00
parent 22829c92ee
commit 642ebb5ec1
2 changed files with 158 additions and 0 deletions

31
packages/m/mc/Pkgfile Normal file
View File

@ -0,0 +1,31 @@
# Description: GNU Midnight Commander
# URL: http://www.midnight-commander.org
# Maintainer: Alexander Zhirov
# Depends on: glib
name=mc
version=4.8.31
release=1
source=(
https://github.com/MidnightCommander/mc/archive/refs/tags/${version}.tar.gz
dracula.ini
)
build() {
cd $name-$version
./autogen.sh
./configure \
--prefix=/usr \
--libexecdir=/usr/lib \
--sysconfdir=/etc \
--disable-static
make -j1
make DESTDIR=$PKG install
rm $PKG/usr/lib/mc/*/README*
rm $PKG/usr/share/mc/skins/*
cp $SRC/dracula.ini $PKG/usr/share/mc/skins/default.ini
}

127
packages/m/mc/dracula.ini Normal file
View File

@ -0,0 +1,127 @@
[skin]
description = Dracula
[Lines]
horiz =
vert =
lefttop =
righttop =
leftbottom =
rightbottom =
topmiddle =
bottommiddle =
leftmiddle =
rightmiddle =
cross =
dhoriz =
dvert =
dlefttop =
drighttop =
dleftbottom =
drightbottom =
dtopmiddle =
dbottommiddle =
dleftmiddle =
drightmiddle =
[core]
_default_ = white;default
selected = white;red
marked = brightgreen;black
markselect = brightgreen;blue
gauge = black;white
input = white;black
inputunchanged = brightgreen;black
inputmark = black;white
disabled = brightgreen;black
reverse = brightgreen;black
commandlinemark = black;white
header = white;black
inputhistory =
commandhistory =
[dialog]
_default_ = white;black
dfocus = white;blue
dhotnormal = brightgreen;black
dhotfocus = brightgreen;blue
dtitle = brightgreen;black
[error]
_default_ = red;black
errdfocus = black;red
errdhotnormal = brightred;black
errdhotfocus = brightgreen;red
errdtitle = brightgreen;black
[filehighlight]
directory = blue;
executable = brightgreen;
symlink = brightgreen;
hardlink =
stalelink = brightred;
device = brightgreen;
special = brightgreen;
core = red;
temp = brightgreen;
archive = brightgreen;
doc = white;
source = brightcyan;
media = brightgreen;
graph = cyan;
database = brightred;
[menu]
_default_ = white;black
menusel = white;blue
menuhot = brightgreen;black
menuhotsel = brightgreen;blue
menuinactive = brightgreen;black
[popupmenu]
_default_ = white;black
menusel = white;blue
menutitle = white;black
[buttonbar]
hotkey = white;blue
button = white;black
[statusbar]
_default_ = white;black
[help]
_default_ = white;black
helpitalic = red;black
helpbold = brightgreen;black
helplink = blue;black
helpslink = white;blue
helptitle = brightgreen;black
[editor]
_default_ = white;black
editbold = brightgreen;blue
editmarked = black;cyan
editwhitespace = brightblue;blue
editlinestate = white;cyan
bookmark = white;red
bookmarkfound = black;brightgreen
editrightmargin = brightblue;black
editframe = brightgreen;
editframeactive = white;
editframedrag = brightblue;
[viewer]
_default_ = white;black
viewbold = brightgreen;blue
viewunderline = brightred;blue
viewselected = brightgreen;cyan
[diffviewer]
added = white;brightgreen
changedline = blue;cyan
changednew = red;cyan
changed = white;cyan
removed = white;red
error = red;white
[widget-common]
sort-sign-up =
sort-sign-down =
[widget-panel]
hiddenfiles-sign-show =
hiddenfiles-sign-hide =
history-prev-item-sign = «
history-next-item-sign = »
history-show-list-sign = ^
filename-scroll-left-char = «
filename-scroll-right-char = »
[widget-editor]
window-state-char =
window-close-char =