aboutsummaryrefslogtreecommitdiffstats
path: root/main/xfwm4/APKBUILD
blob: 51bcda6ac47aa0379912ff96e5519877e20b6c2b (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
36
37
38
39
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfwm4
pkgver=4.12.2
pkgrel=0
pkgdesc="Xfce window manager, compatible with Gnome, Gnome2, KDE2, and KDE3"
url="http://www.xfce.org/"
arch="all"
license="GPL-2"
depends="hicolor-icon-theme"
subpackages="$pkgname-lang"
makedepends="libxfce4ui-dev libwnck-dev libxrandr-dev libxcomposite-dev
	libxfixes-dev libxdamage-dev libxrender-dev"
install=
source="http://archive.xfce.org/src/xfce/xfwm4/${pkgver%.*}/xfwm4-$pkgver.tar.bz2"

build () {
	cd "$srcdir"/$pkgname-$pkgver
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib \
		--localstatedir=/var \
		--disable-static \
		--enable-compositor \
		--enable-xsync \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="3728768dd9ea0de624cd3efc5dcccbca  xfwm4-4.12.2.tar.bz2"
sha256sums="5bb5f72b41060d10bd3823f8b69abcd462bbd8853fdf9c82041450ae68e7d75a  xfwm4-4.12.2.tar.bz2"
sha512sums="00fa624743f954eed6c3254b4f9ca96611732b5d4c8285ce79cbe1584cd5f916085dd34e3f962900259e950d3977ebb093eaeb0636f3285d37d4a8789bd159da  xfwm4-4.12.2.tar.bz2"