From 642ebb5ec1c35fc15beacb5293aa562a504c01bf Mon Sep 17 00:00:00 2001 From: Alexander Zhirov Date: Thu, 14 Mar 2024 18:58:16 +0300 Subject: [PATCH] added mc package --- packages/m/mc/Pkgfile | 31 ++++++++++ packages/m/mc/dracula.ini | 127 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 158 insertions(+) create mode 100644 packages/m/mc/Pkgfile create mode 100644 packages/m/mc/dracula.ini diff --git a/packages/m/mc/Pkgfile b/packages/m/mc/Pkgfile new file mode 100644 index 0000000..1aaf0ad --- /dev/null +++ b/packages/m/mc/Pkgfile @@ -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 +} diff --git a/packages/m/mc/dracula.ini b/packages/m/mc/dracula.ini new file mode 100644 index 0000000..45c3998 --- /dev/null +++ b/packages/m/mc/dracula.ini @@ -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 = ✕