lockit


Logs | Files | README | LICENSE | GitLab


1
commit 757a244cd6742700893ad1a8a7a71956c30fd23b
2
Author: Connor Etherington <[email protected]>
3
Date:   Fri Nov 24 12:10:32 2023 +0200
4
5
    Auto-Commit Update - 20231124
6
---
7
 PKGBUILD | 22 +++++++++++-----------
8
 1 file changed, 11 insertions(+), 11 deletions(-)
9
10
diff --git a/PKGBUILD b/PKGBUILD
11
index abe6722..cfb1a1d 100644
12
--- a/PKGBUILD
13
+++ b/PKGBUILD
14
@@ -1,7 +1,7 @@
15
 # Maintainer: Connor Etherington <[email protected]>
16
 # ---
17
 pkgname=lockit
18
-pkgver=1.0.1
19
+pkgver=0.1.0
20
 pkgrel=1
21
 pkgdesc="Simple script that makes use of GPG to encrypt and decrypt files and folders"
22
 arch=(x86_64)
23
@@ -9,23 +9,23 @@ url="https://gitlab.com/a4to/${pkgname}"
24
 license=('MIT')
25
 depends=(gnupg dialog)
26
 source=(
27
-  "https://concise.cc/pkg/${pkgname}-${pkgver}-${pkgrel}-$arch.pkg.tar.zst"
28
-  "https://concise.cc/pkg/${pkgname}-${pkgver}-${pkgrel}-$arch.pkg.tar.zst.sig"
29
+  "https://concise.cc/pkg/${pkgname}-${pkgver}-${pkgrel}-$arch.pkg.tar.xz"
30
   )
31
 sha512sums=(
32
   'a906f37d1adb9221040a1737d92dd69a8eef32d2b8c3baf55abd40df9fedb6dbc1a31a7736f11e400daa16161987235fd6446c4a721f0059161f6d7183fab354'
33
-  'a45a22d762d8d82adc479ada4c55c209143a81954409fe253dec937005fc01bc22cfb94b7817243f55f9ef257493244ea40d63bd8f84dbe81c50ea976d760d2e'
34
   )
35
 md5sums=(
36
   '0de29a3f0b759515ad3d08baa8ba4b88'
37
-  '2dd1e4da3f6b97a169a63c69ef08a387'
38
   )
39
-validpgpkeys=('9A1F3F41DDA55A60331CB8DD3714CB0967D15980')
40
-
41
-prepare() {
42
-    mkdir -p "$pkgdir/usr/"
43
-}
44
+validpgpkeys=(
45
+  '81BACEEBC3EA26E127166E4A819BB92A9A48160E'
46
+)
47
 
48
 package() {
49
-    cp -r "$srcdir/$pkgname/usr" "$pkgdir/usr"
50
+  cd "$srcdir/${pkgname}-${pkgver}-${pkgrel}-${arch}" >/dev/null 2>&1 ||
51
+  cd "$srcdir/${pkgname}"
52
+
53
+  install -Dm755 usr/bin/* -t "${pkgdir}/usr/bin"
54
+  install -Dm644 usr/share/licenses/${pkgname}/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
55
 }
56
+