blob: 6219665659881b7bb3b17c37c2860fd59d58ef85 (
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: loserMcloser <reebydobalina@gmail.com>
_gitname=waylogout
pkgname="$_gitname-git"
pkgver=r33.2ab8b21
pkgrel=1
pkgdesc="A lock/logout/suspend/reboot/poweroff dialog for Wayland."
arch=('x86_64')
url="https://github.com/loserMcloser/$_gitname"
license=('MIT')
depends=('libxkbcommon' 'cairo' 'gdk-pixbuf2' 'otf-font-awesome')
makedepends=('git' 'meson' 'ninja' 'scdoc' 'wayland' 'wayland-protocols')
source=("git+https://github.com/loserMcloser/$_gitname.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_gitname"
echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/$_gitname"
meson build --prefix=/usr
ninja -C build
}
package() {
cd "$srcdir/$_gitname"
DESTDIR="$pkgdir" ninja -C build install
}
|