pkgbuild: added an pkgbuild for arch!
This commit is contained in:
parent
81cfc74679
commit
56ab7d5b89
3 changed files with 49 additions and 8 deletions
36
PKGBUILD
Normal file
36
PKGBUILD
Normal 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
|
||||||
|
}
|
19
README.md
19
README.md
|
@ -30,6 +30,11 @@ cpack -G deb
|
||||||
sudo dpkg -i *.deb
|
sudo dpkg -i *.deb
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Using PKGBUILD:
|
||||||
|
```
|
||||||
|
makepkg -si PKGBUILD
|
||||||
|
```
|
||||||
|
|
||||||
# Usage
|
# Usage
|
||||||
|
|
||||||
## Help message
|
## Help message
|
||||||
|
@ -67,16 +72,16 @@ It is required to have the [runner] section in the configuration.
|
||||||
Example:
|
Example:
|
||||||
```
|
```
|
||||||
[runner]
|
[runner]
|
||||||
rname = "Dashboard:" #(name if needed)
|
rname = "Dashboard:" #name if needed
|
||||||
rtheme = "-show-icons -theme ~/.config/rofi/themes/rounded-purple-dark.rasi" #(theme if needed)
|
rtheme = "-show-icons -theme ~/.config/rofi/themes/rounded-purple-dark.rasi" #theme if needed
|
||||||
rcommand = "rofi -dmenu -p" #(dmenu, rofi, bemenu etc)
|
rcommand = "rofi -dmenu -p" #dmenu, rofi, bemenu etc
|
||||||
```
|
```
|
||||||
An example of something to add to the configuration.
|
An example of something to add to the configuration.
|
||||||
```
|
```
|
||||||
[Disk] #(To set the name)
|
[Disk] #To set the name
|
||||||
names = "Disk" #(To set the name in the runner)
|
names = "Disk" #To set the name in the runner
|
||||||
description = "You chose Disk." #(Not required but can be set)
|
description = "You chose Disk." #Not required but can be set
|
||||||
command = "kitty -e /home/$USER/.config/RapidMenu/hdd.bash" #(bash command)
|
command = "kitty -e /home/$USER/.config/RapidMenu/hdd.bash" #bash command
|
||||||
```
|
```
|
||||||
|
|
||||||
# Contributors
|
# Contributors
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
{
|
{
|
||||||
"version": "0.2.1"
|
"version": "0.2.3"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue