# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=compton pkgver=6.2 pkgrel=0 pkgdesc="X Compositor (a fork of xcompmgr-dana)" url="https://github.com/yshui/compton" 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" install="" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/yshui/$pkgname/archive/v$pkgver.tar.gz" options="!check" # No tests defined in tests/ directory builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" meson --prefix=/usr --buildtype=release -Dbuild_docs=true build ninja -v -C build } package() { cd "$builddir" DESTDIR="$pkgdir" ninja -C build install mkdir -p "$pkgdir/usr/share/doc/compton" install -m644 README* "$pkgdir/usr/share/doc/compton/" install -D -m644 "compton.sample.conf" "$pkgdir/etc/xdg/compton.conf.example" } sha512sums="a0e57dcaff9a18d0ac3b24d15ccaf0f5b308cda0d1c24ab4f76c8e8f3e302983731d7bd3becaf311dd53ca77287eb820315e729b5e34fb1879cab2adad001e82 compton-6.2.tar.gz"