web2desk


Logs | Files | LICENSE | GitLab


1
commit 4377c151e804383a1c75ee310cba9298d7732db7
2
Author: Connor Etherington <[email protected]>
3
Date:   Fri Mar 17 21:33:29 2023 +0200
4
5
    Auto-Commit Update 17.03.2023 - 21:33:29
6
---
7
 BUILD/PKGBUILD                             |  34 +++++++++++++++++++++++++++++
8
 BUILD/web2desk-0.1.0-1-any.pkg.tar.zst     | Bin 0 -> 73364 bytes
9
 BUILD/web2desk-0.1.0-1-any.pkg.tar.zst.sig | Bin 0 -> 566 bytes
10
 PKGBUILD                                   |   8 ++++++-
11
 4 files changed, 41 insertions(+), 1 deletion(-)
12
13
diff --git a/BUILD/PKGBUILD b/BUILD/PKGBUILD
14
new file mode 100644
15
index 0000000..f1681eb
16
--- /dev/null
17
+++ b/BUILD/PKGBUILD
18
@@ -0,0 +1,34 @@
19
+# Maintainer: Connor Etherington <[email protected]>
20
+# ---
21
+pkgname=web2desk
22
+pkgver=0.1.0
23
+pkgrel=1
24
+pkgdesc="A means of creating desktop applications from websites/webapps"
25
+arch=(any)
26
+url="https://gitlab.com/a4to/${pkgname}"
27
+license=('MIT')
28
+depends=()
29
+source=(
30
+  "https://concise.cc/pkg/${pkgname}-${pkgver}-${pkgrel}-$arch.pkg.tar.zst"
31
+  "https://concise.cc/pkg/${pkgname}-${pkgver}-${pkgrel}-$arch.pkg.tar.zst.sig"
32
+  )
33
+sha512sums=(
34
+  '09ef0e6331df1c41e89d0bd9ce802e805a4f9f37dc3fbb52be785db47a208da05c8d30fd7951135cbc8af9d065497e0f7582b990c96cd5c9836657b7490f901f'
35
+  'd39133c0f12559b4623523fa010e371a247ef890766ccfb9ac2f8328ec246066fb36d969146012ad4e4a1aa399770b25e9ad29a84b8fabfafe0b66a3dbe05872'
36
+  )
37
+md5sums=(
38
+  'f404de16e9dae17aec651dcf3af63b8c'
39
+  'b16b83de3f82878eacb6367d8a129ad5'
40
+  )
41
+validpgpkeys=('81BACEEBC3EA26E127166E4A819BB92A9A48160E')
42
+
43
+package() {
44
+  cd "$srcdir/$pkgname"
45
+  install -dm755 "$pkgdir/usr/bin"
46
+  install -dm755 "$pkgdir/usr/share/$pkgname"
47
+  install -dm755 "$pkgdir/usr/share/licenses/$pkgname"
48
+  install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
49
+  install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
50
+  cp -r "usr/share/$pkgname" "$pkgdir/usr/share/$pkgname"
51
+}
52
+
53
diff --git a/BUILD/web2desk-0.1.0-1-any.pkg.tar.zst b/BUILD/web2desk-0.1.0-1-any.pkg.tar.zst
54
new file mode 100644
55
index 0000000..bfd3cbf
56
Binary files /dev/null and b/BUILD/web2desk-0.1.0-1-any.pkg.tar.zst differ
57
diff --git a/BUILD/web2desk-0.1.0-1-any.pkg.tar.zst.sig b/BUILD/web2desk-0.1.0-1-any.pkg.tar.zst.sig
58
new file mode 100644
59
index 0000000..3f41f95
60
Binary files /dev/null and b/BUILD/web2desk-0.1.0-1-any.pkg.tar.zst.sig differ
61
diff --git a/PKGBUILD b/PKGBUILD
62
index a3c125b..f1681eb 100644
63
--- a/PKGBUILD
64
+++ b/PKGBUILD
65
@@ -24,5 +24,11 @@ validpgpkeys=('81BACEEBC3EA26E127166E4A819BB92A9A48160E')
66
 
67
 package() {
68
   cd "$srcdir/$pkgname"
69
-  make DESTDIR="$pkgdir" install
70
+  install -dm755 "$pkgdir/usr/bin"
71
+  install -dm755 "$pkgdir/usr/share/$pkgname"
72
+  install -dm755 "$pkgdir/usr/share/licenses/$pkgname"
73
+  install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
74
+  install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
75
+  cp -r "usr/share/$pkgname" "$pkgdir/usr/share/$pkgname"
76
 }
77
+