get


Logs | Files | README | README | LICENSE | LICENSE | GitLab


1
commit 76959d1de97beac6632887237bd371049ef45740 (tag: v0.1.2, origin/v0.1.2)
2
Author: Connor Etherington <[email protected]>
3
Date:   Fri Sep 13 22:18:50 2024 +0200
4
5
    Auto-Commit Update 13.09.2024 - 22:18:50
6
---
7
 LICENSE  | 26 ++++++++++++++++++++++++++
8
 PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
9
 2 files changed, 60 insertions(+)
10
11
diff --git a/LICENSE b/LICENSE
12
new file mode 100644
13
index 0000000..e01cb67
14
--- /dev/null
15
+++ b/LICENSE
16
@@ -0,0 +1,26 @@
17
+MIT/X Consortium License
18
+
19
+Creator /Maintainer :
20
+
21
+© Connor Etherington <[email protected]>
22
+
23
+---------------------------------------------------------------------------
24
+
25
+Permission is hereby granted, free of charge, to any person obtaining a copy
26
+of this software and associated documentation files (the "Software"), to deal
27
+in the Software without restriction, including without limitation the rights
28
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
29
+copies of the Software, and to permit persons to whom the Software is
30
+furnished to do so, subject to the following conditions:
31
+
32
+THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN ALL
33
+COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE.
34
+
35
+
36
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
37
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
38
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
39
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
40
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
41
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
42
+SOFTWARE.
43
diff --git a/PKGBUILD b/PKGBUILD
44
new file mode 100644
45
index 0000000..75eac1a
46
--- /dev/null
47
+++ b/PKGBUILD
48
@@ -0,0 +1,34 @@
49
+# Maintainer: Connor Etherington <[email protected]>
50
+# ---
51
+pkgname=get
52
+pkgver=0.1.2
53
+pkgrel=1
54
+pkgdesc="A versatile tool for making HTTP requests and scraping web content"
55
+arch=(x86_64)
56
+url="https://gitlab.com/a4to/${pkgname}"
57
+license=('MIT')
58
+depends=(nodejs npm)
59
+makedepends=(nodejs npm)
60
+source=(https://gitlab.com/a4to/get/-/archive/init/get-init.tar.gz)
61
+md5sums=('SKIP')
62
+sha256sums=('SKIP')
63
+validpgpkeys=('81BACEEBC3EA26E127166E4A819BB92A9A48160E')
64
+
65
+package() {
66
+
67
+  cd "${srcdir}/${pkgname}-init"
68
+
69
+  ls -al1
70
+
71
+  mkdir -p "${pkgdir}/usr/share/${pkgname}"
72
+  mkdir -p "${pkgdir}/usr/share/doc/${pkgname}"
73
+  mkdir -p "${pkgdir}/usr/bin"
74
+
75
+  npm install . --prefix "${pkgdir}/usr/share/${pkgname}"
76
+
77
+  install -Dm755 app.js "${pkgdir}/usr/bin/get"
78
+  install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
79
+  install -Dm644 package.json "${pkgdir}/usr/share/${pkgname}/package.json"
80
+
81
+}
82
+