qcopy


Logs | Files | LICENSE | GitLab


1
commit 311ae7bce941d32f2a3d9d1279072c9aed9e06bd
2
Author: Connor Etherington <[email protected]>
3
Date:   Tue May 9 04:32:00 2023 +0200
4
5
    Auto-Commit Update - 20230509
6
---
7
 PKGBUILD | 13 +++++++++----
8
 1 file changed, 9 insertions(+), 4 deletions(-)
9
10
diff --git a/PKGBUILD b/PKGBUILD
11
index 5aac8ad..2a74c10 100644
12
--- a/PKGBUILD
13
+++ b/PKGBUILD
14
@@ -1,7 +1,7 @@
15
 # Maintainer: Connor Etherington <[email protected]>
16
 # ---
17
 pkgname=qcopy
18
-pkgver=2
19
+pkgver=2.0.0
20
 pkgrel=1
21
 pkgdesc="Easily save important snippets such as passwords for quick access copying at any point"
22
 arch=(any)
23
@@ -24,7 +24,12 @@ md5sums=(
24
 validpgpkeys=('81BACEEBC3EA26E127166E4A819BB92A9A48160E')
25
 
26
 package() {
27
-    install -Dm755 usr/bin/${pkgname} "${pkgdir}/usr/bin/${pkgname}"
28
-    install -Dm644 usr/share/licenses/${pkgname}/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
29
-    install -Dm644 usr/share/man/man1/${pkgname}.1.gz "${pkgdir}/usr/share/man/man1/${pkgname}.1.gz"
30
+
31
+  cd "$srcdir/${pkgname}-${pkgver}-${pkgrel}-${arch}" ||
32
+  cd "$srcdir/${pkgname}"
33
+
34
+  install -Dm755 usr/bin/${pkgname} "${pkgdir}/usr/bin/${pkgname}"
35
+  install -Dm644 usr/share/licenses/${pkgname}/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
36
+  install -Dm644 usr/share/man/man1/${pkgname}.1.gz "${pkgdir}/usr/share/man/man1/${pkgname}.1.gz"
37
+
38
 }