File tree Expand file tree Collapse file tree 1 file changed +52
-1
lines changed Expand file tree Collapse file tree 1 file changed +52
-1
lines changed Original file line number Diff line number Diff line change 23
23
24
24
## Arch Linux (PKGBUILD)
25
25
26
- TODO Instructions
26
+ Steps to update and release the Arch Linux package
27
+
28
+ 1 . Install required packages:
29
+
30
+ ``` bash
31
+ sudo pacman -S base-devel
32
+ ```
33
+
34
+ 2 . Clone the ApiDash AUR repository:
35
+
36
+ ``` bash
37
+ git clone https://aur.archlinux.org/apidash-bin.git
38
+ cd apidash-bin
39
+ ```
40
+
41
+ 3 . Get the recent ` .deb ` release from the [ releases page] ( https://github.com/foss42/apidash/releases/ )
42
+
43
+ 4 . Generate new checksums:
44
+
45
+ ``` bash
46
+ sha512sum apidash-linux-amd64.deb LICENSE
47
+ ```
48
+
49
+ 5 . Update the ` PKGBUILD ` file:
50
+
51
+ - Change ` pkgver ` to the new version
52
+ - Reset ` pkgrel ` to 1
53
+ - Update ` sha512sums ` with the new checksums
54
+
55
+ 6 . Build the package
56
+
57
+ ``` bash
58
+ # Clean build files (if they exist from previous builds)
59
+ # rm -rf pkg/ src/
60
+
61
+ # Build and install the package
62
+ makepkg -si
63
+ ```
64
+
65
+ 7 . Update .SRCINFO:
66
+
67
+ ``` bash
68
+ makepkg --printsrcinfo > .SRCINFO
69
+ ```
70
+
71
+ 8 . Commit and push the changes:
72
+
73
+ ``` bash
74
+ git add PKGBUILD .SRCINFO
75
+ git commit -m " Update to v[NEW_VERSION]"
76
+ git push
77
+ ```
27
78
28
79
## FlatHub (Flatpak)
29
80
You can’t perform that action at this time.
0 commit comments