git: 02c0d05503c6 - main - deskutils/arttime: Unbreak fetch

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Sun, 05 Mar 2023 11:10:09 UTC
The branch main has been updated by ehaupt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=02c0d05503c6121d0effbcfbea94b1df60015d76

commit 02c0d05503c6121d0effbcfbea94b1df60015d76
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2023-03-05 11:10:03 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2023-03-05 11:10:03 +0000

    deskutils/arttime: Unbreak fetch
    
    - Release tag was recreated
    - Changes include minor changes in the install script
    - While here, use a commit including a reported upstream fix to the install
      script
    
    Notified by:    pkg-fallout
---
 deskutils/arttime/Makefile               |  4 +++-
 deskutils/arttime/distinfo               |  6 +++---
 deskutils/arttime/files/patch-install.sh | 34 --------------------------------
 3 files changed, 6 insertions(+), 38 deletions(-)

diff --git a/deskutils/arttime/Makefile b/deskutils/arttime/Makefile
index 3fb8fcfaf6ec..8f2057a0ed5f 100644
--- a/deskutils/arttime/Makefile
+++ b/deskutils/arttime/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	arttime
 PORTVERSION=	2.0.0
+PORTREVISION=	1
 DISTVERSIONPREFIX=	v
 CATEGORIES=	deskutils
 
@@ -16,12 +17,13 @@ RUN_DEPENDS=	notify-send:devel/libnotify \
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	poetaman
+GH_TAGNAME=	6716e6b
 
 NO_ARCH=	yes
 NO_BUILD=	yes
 
 do-install:
 	${SETENV} ${MAKE_ENV} DESTDIR=${STAGEDIR} ${WRKSRC}/install.sh \
-		--prefix ${STAGEDIR}${PREFIX}
+		--prefix ${STAGEDIR}${PREFIX} --noupdaterc
 
 .include <bsd.port.mk>
diff --git a/deskutils/arttime/distinfo b/deskutils/arttime/distinfo
index 29715c366d24..d9d3588969b1 100644
--- a/deskutils/arttime/distinfo
+++ b/deskutils/arttime/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1677617300
-SHA256 (poetaman-arttime-v2.0.0_GH0.tar.gz) = 11dabbcb8938cd01e91c7f303f317d1e3c76e5dd07ba4445c49245bc8fd1c9d6
-SIZE (poetaman-arttime-v2.0.0_GH0.tar.gz) = 417966
+TIMESTAMP = 1678007691
+SHA256 (poetaman-arttime-v2.0.0-6716e6b_GH0.tar.gz) = 92990d656b2c0397e429070863019976cb0dd4e18e56cf767f1c78a53fd3c1d0
+SIZE (poetaman-arttime-v2.0.0-6716e6b_GH0.tar.gz) = 418650
diff --git a/deskutils/arttime/files/patch-install.sh b/deskutils/arttime/files/patch-install.sh
deleted file mode 100644
index 76248d3201be..000000000000
--- a/deskutils/arttime/files/patch-install.sh
+++ /dev/null
@@ -1,34 +0,0 @@
---- install.sh.orig	2023-02-25 08:04:14 UTC
-+++ install.sh
-@@ -276,30 +276,5 @@ elif [[ $machine =~ ^Darwin.*$ ]]; then
-     echo "Note: Notification settings on macOS are not fully in control of an application.\n      To check if you have desired notification settings, open following link.\n      https://github.com/poetaman/arttime/issues/11"
- fi
- 
--# Check if path to arttime excutable is on user's $PATH
--if [[ ":$PATH:" == *":$bindir:"* ]]; then
--    echo "Installation complete!\nType 'arttime' and press Enter to start arttime."
--else
--    loginshell=$(basename "${SHELL}")
--    if [[ $loginshell == *zsh* ]]; then
--        profile='.zshrc'
--    elif [[ $loginshell == *bash* ]]; then
--        #if [[ -e $HOME/.bash_profile ]]; then
--        #    profile='.bash_profile'
--        #else
--        #    profile='.profile'
--        #fi
--        profile=".bashrc"
--    else
--        profile=''
--    fi
--    if [[ ! -z $profile ]]; then
--        echo "\n# Following line was automatically added by arttime installer" >>$HOME/$profile
--        echo 'export PATH='"$bindir"':$PATH' >>$HOME/$profile
--        echo 'Note: Added export PATH='"$bindir"':$PATH to ~/'"$profile"
--        echo "Installation complete!\nSource ~/$profile or restart terminal. Then type 'arttime' and press Enter to start arttime."
--    else
--        echo "Installation *almost* complete! To start using arttime, follow these steps:\n    1) Add $bindir to your PATH environment variable in appropriate file,\n    2) Open a new terminal session, type 'arttime' and press Enter.\nTo run it right away from this shell, execute arttime by specifying its full path:\n       $bindir/arttime"
--    fi
--fi
- echoti cnorm
-+exit 0