web2desk


Logs | Files | LICENSE | GitLab


1
commit 3e289bda9090b33e61bd581b2716967c6bb082bd
2
Author: Connor Etherington <[email protected]>
3
Date:   Fri Mar 17 23:32:45 2023 +0200
4
5
    Auto-Commit Update - 20230317
6
---
7
 PKGBUILD | 7 ++++---
8
 1 file changed, 4 insertions(+), 3 deletions(-)
9
10
diff --git a/PKGBUILD b/PKGBUILD
11
index 7cf6cbb..4578115 100644
12
--- a/PKGBUILD
13
+++ b/PKGBUILD
14
@@ -12,10 +12,11 @@ source=("git+$url.git")
15
 sha512sums=("SKIP")
16
 
17
 package() {
18
+  cd "$srcdir"
19
   mkdir -p "$pkgdir/usr/bin"
20
   mkdir -p "$pkgdir/usr/share/$pkgname"
21
-  install -Dm755 "$srcdir/usr/bin/$pkgname" "$pkgdir/usr/bin/$pkgname"
22
-  install -Dm644 "$srcdir/usr/share/licenses/$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
23
-  cp -r "$srcdir/usr/share/$pkgname" "$pkgdir/usr/share/$pkgname"
24
+  install -Dm755 "$pkgname/usr/bin/$pkgname" "$pkgdir/usr/bin/$pkgname"
25
+  install -Dm644 "$pkgname/usr/share/licenses/$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
26
+  cp -r "$pkgname/usr/share/$pkgname" "$pkgdir/usr/share/$pkgname"
27
 }
28