blob: 94546cb9836de1be8b84291957d50099b4e750ae (
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
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=compton
pkgver=5.1
pkgrel=0
pkgdesc="X Compositor (a fork of xcompmgr-dana)"
url="https://github.com/chjj/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 -Dvsync_drm=true --buildtype=release --prefix=/usr . 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="61f88019b2b4ef06e5c6a155f913b0b1c0ab7d077be5af14104596cebe0428ba6d0d98399e3c450c494945a1d4727446b2f3631989dc766439112527a9d0a888 compton-5.1.tar.gz"
|