summaryrefslogblamecommitdiff
path: root/user/compton/APKBUILD
blob: 82b9cc63853ca95afbc1f80460a1aca10befb187 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                         





                                        
                                  
                         
          


                                                                           
                                                                         

         










                                         



                                                                                                                                                               
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=compton
pkgver=4
pkgrel=0
pkgdesc="Lightweight compositor for X11"
url="https://github.com/yshui/compton"
arch="all"
options="!check"  # No test suite.
license="MIT AND MPL-2.0"
depends=""
makedepends="meson libx11-dev libxext-dev libev-dev xcb-util-renderutil-dev
	xcb-util-image-dev pixman-dev libconfig-dev pcre-dev mesa-dev
	dbus-dev"
source="https://distfiles.adelielinux.org/source/$pkgname-$pkgver.tar.gz"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=release \
		. output
	ninja -C output
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="ba585df25792519b8093a5a91d62ca2d3b02dd9df41d787dc4007cee5c8aef7cd0a3c267b58d21026c97b7859f7c5376384dffb7da728a99ccc4122a2ae43679  compton-4.tar.gz"