2024-03-14 15:58:16 +00:00
|
|
|
# Description: GNU Midnight Commander
|
|
|
|
# URL: http://www.midnight-commander.org
|
|
|
|
# Maintainer: Alexander Zhirov
|
|
|
|
# Depends on: glib
|
|
|
|
|
|
|
|
name=mc
|
|
|
|
version=4.8.31
|
2024-03-24 18:47:13 +00:00
|
|
|
release=2
|
2024-03-14 15:58:16 +00:00
|
|
|
source=(
|
|
|
|
https://github.com/MidnightCommander/mc/archive/refs/tags/${version}.tar.gz
|
2024-03-24 18:47:13 +00:00
|
|
|
electricblue256.ini
|
2024-03-14 15:58:16 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
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*
|
2024-03-24 18:47:13 +00:00
|
|
|
|
|
|
|
cp $SRC/electricblue256.ini $PKG/usr/share/mc/skins/electricblue256.ini
|
2024-03-14 15:58:16 +00:00
|
|
|
}
|