-
Notifications
You must be signed in to change notification settings - Fork 3
/
PKGBUILD
64 lines (60 loc) · 1.54 KB
/
PKGBUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Maintainer: Georg Wagner <puxplaying_at_gmail_dot_com>
# Maintainer: Mark Wagie <mark_at_manjaro_dot_org>
# Contributor: Chrysostomus <forum.manjaro.org/u/Chrysostomus>
# Contributor: konung-yaropolk <https://github.com/konung-yaropolk>
pkgname=bmenu
pkgver=0.25
pkgrel=1
pkgdesc="Bash scripts providing a collection of terminal applications in a simple UI"
arch=('any')
url="https://github.com/puxplaying/toolbox/"
license=('GPL-3.0-or-later')
depends=(
'bash'
'btop'
'cmus'
'cpupower'
'curl'
'dialog'
'dmidecode'
'expac'
'fzf'
'gawk'
'inxi'
'lm_sensors'
'lshw'
'mhwd'
'ncdu'
'pacman-contrib'
'pacui'
'powertop'
'sed'
'sudo'
'xorg-xinput'
)
optdepends=(
'cmatrix: Enter The Matrix'
'cups: Manage printers'
'sane: Manage scanners'
'meld: Diff operations'
'ranger: File manager operations'
'p7zip: Fast 7z file compression with password protection'
'tar: Fast Tar file compression'
'zstd: Fast Zstd file comression'
)
provides=('mhwd-tui')
conflicts=('mhwd-tui')
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
sha256sums=('db97221ef6ec84ac30691a30cfde69742d076edd026adae85103a8a95dbc5fa4')
prepare() {
cd "toolbox-$pkgver"
# toolbox script conflicts with Arch extra toolbox package
mv -f bin/toolbox "bin/$pkgname"
sed -i "s/Exec=toolbox/Exec=$pkgname/g" toolbox.desktop
}
package () {
cd "toolbox-$pkgver"
install -Dm755 bin/* -t "$pkgdir/usr/bin/"
install -Dm644 toolbox.desktop -t "$pkgdir/usr/share/applications/"
install -Dm644 toolbox.png -t "$pkgdir/usr/share/pixmaps/"
}