mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
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
This commit is contained in:
parent
53d09421ac
commit
02c0d05503
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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 "[4mNote[0m: 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 [31m*[0malmost[31m*[0m 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
|
Loading…
Reference in New Issue
Block a user