blob: 005536f75fbc22c0e4d92933b9a19f13adb2f5a0 (
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
29
30
|
# Maintainer: Rishabh Das <rdas@tutanota.com>
pkgname='wmenu-git'
pkgver=0.1.0
pkgrel=1
pkgdesc="An efficient dynamic menu for Sway and wlroots based Wayland compositors"
arch=('x86_64')
url="https://git.sr.ht/~adnano/wmenu"
license=('MIT')
depends=('cairo' 'pango' 'wayland' 'libxkbcommon')
makedepends=('git' 'meson' 'ninja' 'scdoc')
provides=('wmenu')
conflicts=('wmenu')
source=("git+$url")
sha256sums=('SKIP')
pkgver() {
git -C wmenu describe --abbrev=10 | sed 's/-/+/; s/-/./'
}
build() {
cd wmenu
meson --prefix="/usr" --buildtype=release -Db_lto=true build
ninja -C build
}
package() {
cd wmenu
DESTDIR="${pkgdir}/" ninja -C build install
install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/wmenu/LICENSE"
}
|