aboutsummaryrefslogtreecommitdiffstats
path: root/community/compton/APKBUILD
blob: 3c7d7ba02cc26cf2441548912f648d86f378b33d (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=compton
pkgver=0.1_beta2
pkgrel=1
pkgdesc="X Compositor (a fork of xcompmgr-dana)"
url="https://github.com/chjj/compton"
arch="all"
license="MIT"
makedepends="libx11-dev libxcomposite-dev libxinerama-dev libxdamage-dev \
	libconfig-dev pcre-dev libxrandr-dev dbus-dev libdrm-dev mesa-dev asciidoc"
install=""
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/chjj/$pkgname/archive/v$pkgver.tar.gz"

builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	make PREFIX=/usr
}

package() {
	cd "$builddir"
	make PREFIX="$pkgdir"/usr install
	install -D -m644 "LICENSE" "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
	install -D -m644 "compton.sample.conf" "$pkgdir/etc/xdg/compton.conf.example"
}

md5sums="fed786fa5ee9eb89df02291f2cc6e04d  compton-0.1_beta2.tar.gz"
sha256sums="7b9cd52a57326116fb5db3f5f89b7d50e17715252d9fd79b70b45ace30a6b009  compton-0.1_beta2.tar.gz"
sha512sums="c3a019d90e32559d44e3a4969bcc15a15837db9c9519ce8cc70b1bd3d0cb16d29449f68cc2f6a8d834569c9620ec6533ab85c1586da957c69b1ae341d9584535  compton-0.1_beta2.tar.gz"