pman


Logs | Files | README | README | LICENSE | GitLab


1
commit 1f576c0f8d4f9bc5aab277683810c8794040e501
2
Author: Connor Etherington <[email protected]>
3
Date:   Mon May 16 04:45:49 2022 +0200
4
5
    Update.
6
---
7
 PKGBUILD                |  4 +--
8
 README.md               | 22 ++++++++--------
9
 usr/bin/{ezdl => pkd}   |  2 +-
10
 usr/share/doc/README.md | 67 ++++++++++++++++++++++++-------------------------
11
 4 files changed, 48 insertions(+), 47 deletions(-)
12
13
diff --git a/PKGBUILD b/PKGBUILD
14
index 630c8cb..0a8bd9d 100644
15
--- a/PKGBUILD
16
+++ b/PKGBUILD
17
@@ -1,7 +1,7 @@
18
 # Maintainer: Connor Etherington <[email protected]>
19
 # ---
20
 pkgname=pkd
21
-pkgver=1.0.1
22
+pkgver=1.1
23
 pkgrel=1
24
 pkgdesc="A minimal CLI download manager for all major package managers and URLs/Torrents"
25
 arch=(any)
26
@@ -21,7 +21,7 @@ sha256sums=('SKIP')
27
 
28
 package() {
29
     install -Dm644 usr/share/licenses/${pkgname}/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
30
-    install -Dm644 usr/share/doc/${pkgname}/README "${pkgdir}/usr/share/licenses/${pkgname}/README"
31
+    install -Dm644 usr/share/doc/${pkgname}/README.md "${pkgdir}/usr/share/licenses/${pkgname}/README.md"
32
     install -Dm755 usr/bin/${pkgname} "${pkgdir}/usr/bin/${pkgname}"
33
 }
34
 
35
diff --git a/README.md b/README.md
36
index ef2c1a7..cebdb49 100644
37
--- a/README.md
38
+++ b/README.md
39
@@ -9,17 +9,17 @@ Run `pkd` - you will be taken to a file where you can enter the package names an
40
 
41
 **Other use cases:**
42
 
43
-pkd -f \<file with list of packages>\
44
-pkd \<package1> \<package2> \<package3>\
45
-pkd MH,<repo>\
46
-pkd L,\<gitlab username>/\<repo>\
47
-pkd H,\<github username>/\<repo>
48
+`pkd` -f \<file with list of packages>\
49
+`pkd` \<package1> \<package2> \<package3>\
50
+`pkd` MH,<repo>\
51
+`pkd` L,\<gitlab username>/\<repo>\
52
+`pkd` H,\<github username>/\<repo>
53
 
54
 **Optionally, you can put a comment, in quotes, following the package name and an additional comma, to replace the description.**\
55
 **For example:**
56
 
57
-pkd \<package name>,"\<comment>"\
58
-pkd MH,"\<description>"
59
+`pkd` \<package name>,"\<comment>"\
60
+`pkd` MH,"\<description>"
61
 
62
 
63
 ## List Formatting
64
@@ -47,11 +47,13 @@ pkd MH,"\<description>"
65
 ### List Formatting Examples:
66
   
67
     packages=(
68
-
69
+    
70
+    zsh
71
     zsh,"A very advanced and programmable command interpreter (shell) for UNIX"
72
-    H,neovim/neovim
73
     P,pipenv,"A comment is not necessary and purely meant as eye candy if saving the script for later use"
74
-    L,a4to/nu1ll1nux
75
+    H,neovim/neovim
76
+    L,a4to/auto
77
+    MH,auto
78
     S,snap-store
79
     N,lite-server
80
 
81
diff --git a/usr/bin/ezdl b/usr/bin/pkd
82
similarity index 99%
83
rename from usr/bin/ezdl
84
rename to usr/bin/pkd
85
index 33fd04a..08e0925 100755
86
--- a/usr/bin/ezdl
87
+++ b/usr/bin/pkd
88
@@ -56,7 +56,7 @@ color3="yellow"    # Package Description
89
 # Web File / Torrent   : W,<URL>
90
 
91
 
92
-# See /usr/share/doc/pkgdl/README for more information on list formatting.
93
+# See /usr/share/doc/pkgdl/README.md for more information on list formatting.
94
 
95
 ################################################################################################################################
96
 ################################################################################################################################
97
diff --git a/usr/share/doc/README.md b/usr/share/doc/README.md
98
index a71fad5..1aa5dab 100644
99
--- a/usr/share/doc/README.md
100
+++ b/usr/share/doc/README.md
101
@@ -1,4 +1,4 @@
102
-## PKD - A minimal terminal-based download manager.
103
+# PKD - A minimal terminal-based download manager.
104
 
105
 This Script is intended to be used as a donload helper for all major package managers,
106
 as well as for obtaining Torrents and files from URLs.
107
@@ -10,53 +10,52 @@ Run `pkd` - you will be taken to a file where you can enter the package names an
108
 **Other use cases:**
109
 
110
 `pkd` -f <file with list of packages>
111
-
112
 `pkd` <package1> <package2> <package3>
113
-
114
 `pkd` MH,<repo>
115
-
116
 `pkd` L,<gitlab username>/<repo>
117
-
118
 `pkd` H,<github username>/<repo>
119
 
120
+**Optionally, you can put a comment, in quotes, following the package name and an additional comma, to replace the description.**
121
+**For example:**
122
 
123
-## List Formattiing
124
-
125
-Do not enter any spaces between package names, between package source and package name (the comma).
126
-
127
+`pkd` <package name>,"<comment>"
128
+`pkd` MH,"<description>"
129
 
130
-**The following list is provided below for reference:**
131
----
132
 
133
-Local or AUR Packages :            'packageName,"Comment here (optional)"'    # This is most likely to be the most commonly used format.
134
+## List Formatting
135
 
136
-GitHub Repositories  :            'H,Creator/HubRepoName,"Comment here (optional)"'
137
+**Do not enter any spaces between package names, or between package the package source and the package name (the comma).**
138
 
139
-GitLab Repositories  :            'L,Creator/LabRepoName,"Comment here (optional)"'
140
 
141
-Personal GitHub  :            'PH,yourGitHubRepoName,"Comment here (optional)"'
142
+### The following list is provided below for reference:
143
 
144
-Personal GitLab  :            'PL,yourGitLabRepoName,"Comment here (optional)"'
145
 
146
-Snap Packages  :            'S,snapPackageName,"Comment here (optional)"'
147
+    Local or AUR Packages  :     <packageName>
148
+    
149
+    The method used above is likely to be used in most cases.
150
+    
151
+    GitHub Repositories    :     H,<Creator/HubRepoName>
152
+    GitLab Repositories    :     L,<Creator/LabRepoName>
153
+    Personal GitHub        :     PH,<yourGitHubRepoName>
154
+    Personal GitLab        :     PL,<yourGitLabRepoName>
155
+    Snap Packages          :     S,<snapPackageName>
156
+    Python Pip Packages    :     P,<pythonPackageName>
157
+    NPM or Nodejs Packages :     N,<packageName>
158
+    Web files or Torrents  :     W,<URL>
159
 
160
-Python Pip Packages  :            'P,pythonPackageName,"Comment here (optional)"'
161
 
162
-NPM or Nodejs Packages  :            'N,packageName,"Comment here (optional)"'
163
-
164
-Web files or Torrents  :            'W,URL,"Comment here (optional)"
165
-
166
-
167
-## List Formatting Examples:
168
+### List Formatting Examples:
169
   
170
-packages=(
171
-
172
-zsh,"A very advanced and programmable command interpreter (shell) for UNIX"
173
-H,neovim/neovim
174
-P,pipenv,"A comment is not necessary and purely meant as eye candy if saving the script for later use"
175
-L,a4to/nu1ll1nux
176
-S,snap-store
177
-N,lite-server
178
-
179
- )
180
+    packages=(
181
+    
182
+    zsh
183
+    zsh,"A very advanced and programmable command interpreter (shell) for UNIX"
184
+    P,pipenv,"A comment is not necessary and purely meant as eye candy if saving the script for later use"
185
+    H,neovim/neovim
186
+    L,a4to/auto
187
+    MH,auto
188
+    S,snap-store
189
+    N,lite-server
190
+
191
+     )
192