aboutsummaryrefslogtreecommitdiff
path: root/misc/boxes/boxes.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/boxes/boxes.SlackBuild')
-rw-r--r--misc/boxes/boxes.SlackBuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/misc/boxes/boxes.SlackBuild b/misc/boxes/boxes.SlackBuild
index be62ad7ae1..feeda0d079 100644
--- a/misc/boxes/boxes.SlackBuild
+++ b/misc/boxes/boxes.SlackBuild
@@ -4,6 +4,7 @@
# Copyright 2013 Daniel F. <fordan81@gmail.com>
# All rights reserved.
+# ==# New maintainer for 2025 Ioannis Anagnostakis #==
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -25,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=boxes
-VERSION=${VERSION:-1.1.2}
+VERSION=${VERSION:-2.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -79,15 +80,13 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-sed -i "s|/usr/share/boxes|/etc/boxes-config|" Makefile
-sed -i "s|-ansi||" src/Makefile
-make CFLAGS_ADDTL="$SLKCFLAGS"
+make GLOBALCONF=/etc/boxes-config
mkdir -p $PKG/usr/bin
-cp src/boxes $PKG/usr/bin/
+cp out/boxes $PKG/usr/bin/
-mkdir -p $PKG/usr/share/boxes
-cp boxes-config doc/boxes.el $PKG/usr/share/boxes/
+mkdir -p $PKG/etc
+cp boxes-config $PKG/etc/
mkdir -p $PKG/usr/man/man1
gzip -9 < doc/boxes.1 > $PKG/usr/man/man1/boxes.1.gz