summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 03b287692bc5425ffa355a4fd07a2c72c9039f48 (plain)
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
# Maintainer: Robert Manner <rmanni@gmail.com>

pkgname=widgie-menu-compat
pkgver=1.0
pkgrel=3
pkgdesc="Compatibility layer to use widgie-menu as a replacement of bemenu and dmenu"
arch=('any')
url="https://gitlab.com/manner/widgie"
license=('GPL3')
depends=('widgie')
provides=(dmenu bemenu sxmo-dmenu bemenu-wayland bemenu-wlroots bemenu-x11)
conflicts=(dmenu bemenu sxmo-dmenu bemenu-ncurses bemenu-wayland bemenu-wlroots bemenu-x11)
optdepends=()
makedepends=()
source=()

package() {
  depends=("widgie")
  install -d "$pkgdir"/usr/bin
  ln -s "/usr/bin/widgie-menu" "$pkgdir"/usr/bin/dmenu
  ln -s "/usr/bin/widgie-menu-run" "$pkgdir"/usr/bin/dmenu_run
  ln -s "/usr/bin/widgie-menu-path" "$pkgdir"/usr/bin/dmenu_path
  ln -s "/usr/bin/widgie-menu" "$pkgdir"/usr/bin/bemenu
  ln -s "/usr/bin/widgie-menu-run" "$pkgdir"/usr/bin/bemenu-run
}