diff options
author | Zhu Qun-Ying <zhu.qunying@gmail.com> | 2023-08-05 10:13:38 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-08-12 08:29:48 +0700 |
commit | 09dc69bd1362c5fe3794387e78b097811fd539ae (patch) | |
tree | 08045bda4034484cd6965dc6a0a937a3094e2779 /development | |
parent | 8963dde1d49f7058dd94e0a8b02d07334c8d58ff (diff) |
development/xnedit: Updated for version 1.5.0.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r-- | development/xnedit/xnedit.SlackBuild | 24 | ||||
-rw-r--r-- | development/xnedit/xnedit.info | 6 |
2 files changed, 13 insertions, 17 deletions
diff --git a/development/xnedit/xnedit.SlackBuild b/development/xnedit/xnedit.SlackBuild index cf7b220348264..9ae3dc759f52a 100644 --- a/development/xnedit/xnedit.SlackBuild +++ b/development/xnedit/xnedit.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for xnedit -# Copyright 2019-2020 Qunying Zhu <zhu.qunying@gmail.com> +# Copyright 2019-2023 Qunying Zhu <zhu.qunying@gmail.com> # Copyright 2017 Alessandro Pittaluga <agp@pittux.com> # All rights reserved. @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=xnedit -VERSION=${VERSION:-1.4.1} +VERSION=${VERSION:-1.5.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -58,17 +58,11 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM +rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* -cd $PRGNAM -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -make linux +cd $PRGNAM-$VERSION + +make -j1 linux docs mkdir -p $PKG/usr/bin $PKG/usr/man/man1 install -m 755 source/xnedit $PKG/usr/bin/xnedit install -m 644 doc/xnedit.man $PKG/usr/man/man1/xnedit.1 @@ -84,10 +78,12 @@ mkdir -p $PKG/usr/share/icons mkdir -p $PKG/usr/share/applications cp resources/desktop/xnedit.png $PKG/usr/share/icons -sed 's/%PREFIX%/\/usr/g' resources/desktop/xnedit.desktop.template > $PKG/usr/share/applications/xnedit.desktop +sed -e 's/%PREFIX%/\/usr/g' \ + -e 's/Application;//' \ + resources/desktop/xnedit.desktop.template > $PKG/usr/share/applications/xnedit.desktop mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE CHANGELOG README.md ReleaseNotes doc/faq.txt $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE CHANGELOG README.md ReleaseNotes doc/faq.txt doc/html $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/development/xnedit/xnedit.info b/development/xnedit/xnedit.info index a6e42c7c31c8b..246cc143f6320 100644 --- a/development/xnedit/xnedit.info +++ b/development/xnedit/xnedit.info @@ -1,8 +1,8 @@ PRGNAM="xnedit" -VERSION="1.4.1" +VERSION="1.5.0" HOMEPAGE="https://sourceforge.net/projects/xnedit/" -DOWNLOAD="https://sourceforge.net/projects/xnedit/files/xnedit-1.4.1.tar.gz" -MD5SUM="9ffbcda7af07e7f33e60c1c20ed59b1d" +DOWNLOAD="https://github.com/unixwork/xnedit/archive/v1.5.0/xnedit-1.5.0.tar.gz" +MD5SUM="8fd361cbec1dd4e21fddc5df61d8fbd7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |