contrib/swaybg/Pkgfile

22 lines
549 B
Plaintext

# Description: Wallpaper tool for Wayland compositors
# URL: https://github.com/swaywm/swaybg
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: cairo wayland-protocols
# Optional: gdk-pixbuf
name=swaybg
version=1.2.0
release=1
source=(https://github.com/swaywm/swaybg/archive/v$version/$name-$version.tar.gz)
build() {
meson setup $name-$version build \
--prefix=/usr \
--buildtype=plain \
--wrap-mode nodownload \
-D b_lto=true \
-D b_pie=true
meson compile -C build
DESTDIR=$PKG meson install -C build
}