pkgbuild: added an pkgbuild for arch!

This commit is contained in:
Kaley, Fischer 2024-07-28 12:28:59 +02:00
parent 81cfc74679
commit 56ab7d5b89
3 changed files with 49 additions and 8 deletions

36
PKGBUILD Normal file
View file

@ -0,0 +1,36 @@
# Maintainer: WorMzy Tykashi <wormzy.tykashi@gmail.com>
# Contributor: Dmitry Korzhevin <dkorzhevin AT gmail DOT com>
# Contributor: C.Coutinho <kikijump[at]gmail[dot]com>
# Contributor: Grigorios Bouzakis <grbzks[at]gmail[dot]com>
# Contributor: TDY <tdy@gmx.com>
pkgname=RapidMenu-git
_gitname=RapidMenu
pkgver=0.2.3
pkgrel=1
pkgdesc="A terminal multiplexer"
url="https://github.com/tmux/tmux/wiki"
arch=('x86_64')
license=('GPLv3')
depends=('tomlplusplus' 'cpptoml')
makedepends=('git' 'cmake' 'ninja')
provides=('RapidMenu')
conflicts=('RapidMenu')
source=('git+https://github.com/DRAGONTOS/RapidMenu.git')
md5sums=('SKIP')
prepare() {
rm -rf build
}
build() {
cd ${_gitname}
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Debug -S . -B ./build -G Ninja
cmake --build ./build
chmod -R 777 ./build
}
package() {
cd ${_gitname}
sudo make install
}

View file

@ -30,6 +30,11 @@ cpack -G deb
sudo dpkg -i *.deb
```
Using PKGBUILD:
```
makepkg -si PKGBUILD
```
# Usage
## Help message
@ -67,16 +72,16 @@ It is required to have the [runner] section in the configuration.
Example:
```
[runner]
rname = "Dashboard:" #(name if needed)
rtheme = "-show-icons -theme ~/.config/rofi/themes/rounded-purple-dark.rasi" #(theme if needed)
rcommand = "rofi -dmenu -p" #(dmenu, rofi, bemenu etc)
rname = "Dashboard:" #name if needed
rtheme = "-show-icons -theme ~/.config/rofi/themes/rounded-purple-dark.rasi" #theme if needed
rcommand = "rofi -dmenu -p" #dmenu, rofi, bemenu etc
```
An example of something to add to the configuration.
```
[Disk] #(To set the name)
names = "Disk" #(To set the name in the runner)
description = "You chose Disk." #(Not required but can be set)
command = "kitty -e /home/$USER/.config/RapidMenu/hdd.bash" #(bash command)
[Disk] #To set the name
names = "Disk" #To set the name in the runner
description = "You chose Disk." #Not required but can be set
command = "kitty -e /home/$USER/.config/RapidMenu/hdd.bash" #bash command
```
# Contributors

View file

@ -1,3 +1,3 @@
{
"version": "0.2.1"
"version": "0.2.3"
}