blob: 1e2855bb4cce99a184117c4985f430c7aabf6880 (
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
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
65
66
67
68
69
70
71
72
|
# Maintainer: Steven Guikal <aur-void@fluix.dev>
pkgname=sway-borders-git
_pkgname=sway-borders
pkgver=r6547.a854f050
pkgrel=1
license=("MIT")
pkgdesc="Fork of Sway with some additional (mostly graphical) features"
makedepends=(
"git"
"meson"
"ninja"
"scdoc"
"wayland-protocols"
)
depends=(
"cairo"
"gdk-pixbuf2"
"json-c"
"pango"
"polkit"
"pcre"
"swaybg-git"
"ttf-font"
"wlroots-git"
"xorg-server-xwayland"
)
optdepends=(
"alacritty: Terminal emulator used by the default config"
"dmenu: Application launcher"
"grim: Screenshot utility"
"i3status: Status line"
"mako: Lightweight notification daemon"
"slurp: Select a region"
"swayidle-git: Idle management daemon for Sway"
"swaylock-git: Screen locker for Sway"
"wallutils: Timed wallpapers"
"waybar: Highly customizable bar"
)
backup=(etc/sway/config)
arch=("i686" "x86_64")
url="https://github.com/fluix-dev/sway-borders"
source=("${pkgname%-*}::git+https://github.com/fluix-dev/sway-borders.git")
sha512sums=("SKIP")
provides=("sway")
conflicts=("sway")
options=(debug)
pkgver() {
cd "$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "$_pkgname"
}
build() {
cd "$_pkgname"
meson \
-Dwerror=false \
--prefix /usr \
"$srcdir/build"
ninja -C "$srcdir/build"
}
package() {
cd "$_pkgname"
DESTDIR="$pkgdir" ninja -C "$srcdir/build" install
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|