summaryrefslogtreecommitdiff
path: root/pcr/xfwm4-titleless/PKGBUILD
blob: dd80d287d85d5bae89ef9becca00bc714477b554 (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
40
41
42
43
44
45
46
# Contributor: Christian Hesse <mail@eworm.de>
# Contributor: Evangelos Foutras <evangelos@foutrelis.com>
# Contributor: tobias <tobias funnychar archlinux.org>
# Maintainer : Parabola Aurélien DESBRIÈRES <aurelien@replicant.io>

pkgname=xfwm4-titleless
pkgver=4.10.1
pkgrel=1
pkgdesc="Xfce window manager - patched with option to hide titlebar when maximized"
arch=('i686' 'x86_64')
url="https://bitbucket.org/thesame/xfwm4-titleless"
license=('GPL2')
depends=('libxfce4ui' 'libwnck' 'hicolor-icon-theme')
makedepends=('intltool')
options=('!libtool')
conflicts=('xfwm4')
provides=('xfwm4')
install=${pkgname%%-*}.install
source=("http://archive.xfce.org/src/xfce/${pkgname%%-*}/4.10/${pkgname%%-*}-${pkgver}.tar.bz2"
	"xfwm4-hide-titlebar-when-maximized.patch")

build() {
	cd "${srcdir}/${pkgname%%-*}-${pkgver}"

	patch -Np1 < ${srcdir}/xfwm4-hide-titlebar-when-maximized.patch

	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib \
		--localstatedir=/var \
		--disable-static \
		--enable-startup-notification \
		--enable-randr \
		--enable-compositor \
		--enable-xsync \
		--disable-debug
	make
}

package() {
	cd "${srcdir}/${pkgname%%-*}-${pkgver}"

	make DESTDIR="${pkgdir}" install
}