blob: 62d828eaad1944733a0d31c7202a724f425cf638 (
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
|
# Maintainer: Jian Qiang Wu <Qiangwu2000@gmail.com>
pkgname=wlsbg
pkgver=3.3.7
pkgrel=1
pkgdesc="Wallpaper tool with shader support for Wayland compositors"
arch=("x86_64")
url="https://github.com/Sublimeful/wlsbg"
license=("MIT")
depends=(
"wayland"
"mesa"
"glib2"
"glibc"
"mpv"
"fftw"
)
makedepends=(
"meson"
"wayland-protocols"
"scdoc"
"git"
)
provides=("${pkgname}")
conflicts=("${pkgname}")
source=("${pkgname}::git+${url}.git")
b2sums=("SKIP")
build() {
arch-meson "$pkgname" build
meson compile -C build
}
package() {
meson install -C build --destdir "$pkgdir"
install -Dm644 "${pkgname}/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
install -Dm644 "${pkgname}/README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
}
|