summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dace83a6b416eabc682d140a5287e152331395d4 (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
26
27
28
# Maintainer: Piotr Miller <nwg.piotr@gmail.com>
# Project: nwg-shell for sway, https://github.com/nwg-piotr/nwg-shell
pkgname=('nwg-menu-bin')
pkgver=0.1.3
pkgrel=2
pkgdesc="MenuStart for sway and other wlroots-based compositors"
arch=('x86_64')
url="https://github.com/nwg-piotr/nwg-menu"
license=('MIT')
provides=('nwg-menu')
conflicts=('nwg-menu-git' 'nwg-menu')
depends=('gtk3' 'gtk-layer-shell' 'xdg-utils')
optdepends=('foot: to open .desktop files with Terminal=true'
            'thunar: to open files and directories')
source=("$pkgname-$pkgver.tar.gz::https://github.com/nwg-piotr/nwg-menu/releases/download/v"$pkgver"/nwg-menu-v"$pkgver"_x86_64.tar.gz")

md5sums=('18b5014e17604517eb44d7ea2923dc55')

package() {
  cd "$srcdir"
  install -d "$pkgdir"/usr/share/nwg-menu/desktop-directories
  install -Dm644 -t "$pkgdir"/usr/share/nwg-menu/desktop-directories/ desktop-directories/*
  install -Dm644 -t "$pkgdir"/usr/share/nwg-menu/ menu-start.css
  install -Dm755 -t "$pkgdir"/usr/bin bin/nwg-menu
  
  install -D -t "$pkgdir"/usr/share/licenses/nwg-menu LICENSE
  install -D -t "$pkgdir"/usr/share/doc/nwg-menu README.md
}