blob: ecaaaea7a02290879ff654ac1c53172f01b36dee (
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
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=compton
pkgver=7.4
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 uthash-dev"
subpackages="$pkgname-doc"
source="compton-$pkgver.tar.gz::https://github.com/yshui/compton/archive/v$pkgver.tar.gz"
options="!check" # No tests defined in tests/ directory
build() {
meson --prefix=/usr --buildtype=release -Dwith_docs=true build
ninja -v -C build
}
package() {
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="03dbe0a54cfea2594133daca76e2f0f908383ee74cdcc8e94d17d5cd0943abf86c58452876b422da081f3c3226545ad3553561d37c138e903c0fe76865c2f43a compton-7.4.tar.gz"
|