aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorpomfland <pomfland@tfwno.gf>2024-08-16 10:22:17 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-08-16 12:41:58 +0700
commit6b6b42be8b871d4dbb8f2aa8518381f6773d799b (patch)
treecc7f77db262da144696590bd8f5d82c5a308dca5 /system
parent05022279547bd9d2cc947c65cb0bb769740ffa87 (diff)
system/xfile: Updated for version 1.0beta_6d2dac7.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/xfile/xfile.SlackBuild20
-rw-r--r--system/xfile/xfile.info8
2 files changed, 16 insertions, 12 deletions
diff --git a/system/xfile/xfile.SlackBuild b/system/xfile/xfile.SlackBuild
index 3014001d6697..9f4c8535c48e 100644
--- a/system/xfile/xfile.SlackBuild
+++ b/system/xfile/xfile.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# @(#) xfile.SlackBuild 1.2@(#)
+# @(#) xfile.SlackBuild 1.3@(#)
# Slackware build script for xfile
@@ -27,7 +27,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=xfile
-VERSION=${VERSION:-1.0beta}
+VERSION=${VERSION:-1.0beta_6d2dac7}
+_GITREV=6d2dac7b8f4972d11e8b7f61212c94766fb4379d
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -49,12 +50,15 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+set -e
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-beta
-tar xvf $CWD/$PRGNAM-src-${VERSION/beta/-beta}.tar.xz
-cd $PRGNAM-beta
+rm -rf $PRGNAM-${_GITREV}
+tar xvf $CWD/$PRGNAM-${_GITREV}.tar.gz
+cd $PRGNAM-${_GITREV}
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -72,12 +76,12 @@ install -Dm644 src/default.db $PKG/usr/share/xfile/types/default.db
install -Dm644 src/xfile.1 $PKG/usr/man/man1/xfile.1
for icon in src/icons/*.xpm; do
- install -Dm644 "$icon" $PKG/usr/share/xfile/icons/$(basename "$icon")
+ install -Dm664 "$icon" $PKG/usr/share/xfile/icons/$(basename "$icon")
done
-install -Dm644 src/icons/README $PKG/usr/share/xfile/README.icons
+install -Dm664 src/icons/README $PKG/usr/share/xfile/README.icons
-install -Dm644 src/xbm/cabinet.xpm $PKG/usr/share/pixmaps/xfile_48x48.xpm
+install -Dm664 src/xbm/cabinet.xpm $PKG/usr/share/pixmaps/xfile_48x48.xpm
# construe app-defaults file
mkdir -p $PKG/etc/X11/app-defaults
diff --git a/system/xfile/xfile.info b/system/xfile/xfile.info
index 70c32839c8f6..d6b687fe7d31 100644
--- a/system/xfile/xfile.info
+++ b/system/xfile/xfile.info
@@ -1,10 +1,10 @@
PRGNAM="xfile"
-VERSION="1.0beta"
+VERSION="1.0beta_6d2dac7"
HOMEPAGE="https://fastestcode.org/xfile.html"
-DOWNLOAD="https://prdownloads.sourceforge.net/xfilemanager/xfile-src-1.0-beta.tar.xz"
-MD5SUM="fe7aeea0d2471e578252df9c9981b4cf"
+DOWNLOAD="https://github.com/alx210/xfile/archive/6d2dac7b8f4972d11e8b7f61212c94766fb4379d/xfile-6d2dac7b8f4972d11e8b7f61212c94766fb4379d.tar.gz"
+MD5SUM="54842241eb2bb3887da4c1e96d74cbe3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="%README%"
+REQUIRES=""
MAINTAINER="pomfland"
EMAIL="pomfland@tfwno.gf"