crux-ports/ports/m/mc/Pkgfile

32 lines
622 B
Plaintext
Raw Normal View History

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
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
}