# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=picom pkgver=7.5 pkgrel=2 pkgdesc="X Compositor (a fork of compton)" url="https://github.com/yshui/picom" arch="all" license="MIT MPL-2.0" makedepends="libx11-dev libxcomposite-dev libxinerama-dev libxdamage-dev libconfig-dev pcre-dev libxrandr-dev dbus-dev libdrm-dev mesa-dev meson libev-dev libxdg-basedir-dev pixman-dev xcb-util-renderutil-dev xcb-util-image-dev asciidoc uthash-dev" subpackages="$pkgname-doc" source="picom-$pkgver.tar.gz::https://github.com/yshui/picom/archive/v$pkgver.tar.gz" options="!check" # No tests defined in tests/ directory replaces="compton" # Backwards compatibility provides="compton=$pkgver-r$pkgrel" # Backwards compatibility build() { meson --prefix=/usr --buildtype=plain -Dbuild_docs=true build ninja -v -C build } package() { DESTDIR="$pkgdir" ninja -C build install mkdir -p "$pkgdir/usr/share/doc/picom" install -m644 README* "$pkgdir/usr/share/doc/picom/" install -D -m644 "picom.sample.conf" "$pkgdir/etc/xdg/picom.conf.example" } sha512sums="6535e5eab1a243bbee62448bc48830b7ea3566f94b2c45d9ca76fd8b8056e1f00e55f0e4b58110364d2c4f56652cc005622d644c1db1db41d2811ecc19e6d44a picom-7.5.tar.gz"