editenv


Logs | Files | README | README | LICENSE | GitLab


1
commit ddf32deb35757b68209290f9a21b5119e3f2ae82
2
Author: Connor Etherington <[email protected]>
3
Date:   Wed Jun 21 20:30:35 2023 +0200
4
5
    Initial commit - editenv
6
---
7
 PKGBUILD                           | 22 ++++++++++++++++++++++
8
 usr/share/doc/editenv/.gitkeep     |  0
9
 usr/share/licenses/editenv/LICENSE | 28 ++++++++++++++++++++++++++++
10
 3 files changed, 50 insertions(+)
11
12
diff --git a/PKGBUILD b/PKGBUILD
13
new file mode 100644
14
index 0000000..c13be53
15
--- /dev/null
16
+++ b/PKGBUILD
17
@@ -0,0 +1,22 @@
18
+# Maintainer: Connor Etherington <[email protected]>
19
+# ---
20
+pkgname=editenv
21
+pkgver=0.1.0
22
+pkgrel=1
23
+pkgdesc="A simple command line tool for conveniently storing and editing environment variables."
24
+arch=(any)
25
+url="https://gitlab.com/a4to/${pkgname}"
26
+license=('MIT')
27
+depends=()
28
+source=("git+$url.git")
29
+sha256sums=('SKIP')
30
+
31
+package() {
32
+
33
+  cd "$srcdir/${pkgname}-${pkgver}-${pkgrel}-${arch}" ||
34
+  cd "$srcdir/${pkgname}"
35
+
36
+  install -Dm644 usr/share/licenses/${pkgname}/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
37
+  install -Dm755 usr/bin/${pkgname} "${pkgdir}/usr/bin/${pkgname}"
38
+
39
+}
40
diff --git a/usr/share/doc/editenv/.gitkeep b/usr/share/doc/editenv/.gitkeep
41
new file mode 100644
42
index 0000000..e69de29
43
diff --git a/usr/share/licenses/editenv/LICENSE b/usr/share/licenses/editenv/LICENSE
44
new file mode 100644
45
index 0000000..276f429
46
--- /dev/null
47
+++ b/usr/share/licenses/editenv/LICENSE
48
@@ -0,0 +1,28 @@
49
+MIT/X Consortium License
50
+
51
+Creator /Maintainer :
52
+© 2020-2022 Connor Etherington <[email protected]>
53
+---------------------------------------------------------------------------
54
+Contributors:
55
+
56
+
57
+---------------------------------------------------------------------------
58
+
59
+Permission is hereby granted, free of charge, to any person obtaining a copy
60
+of this software and associated documentation files (the "Software"), to deal
61
+in the Software without restriction, including without limitation the rights
62
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
63
+copies of the Software, and to permit persons to whom the Software is
64
+furnished to do so, subject to the following conditions:
65
+
66
+THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN ALL
67
+COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE.
68
+
69
+
70
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
71
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
72
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
73
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
74
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
75
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
76
+SOFTWARE.