blob: 9c6778cac1eb04cc13611ce8fdf64ed15ece4170 (
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
47
48
|
# Contributor (Arch): Christian Hesse <mail@eworm.de>
# Contributor (Arch): Evangelos Foutras <evangelos@foutrelis.com>
# Contributor (Arch): tobias <tobias funnychar archlinux.org>
# Maintainer : Parabola Aurélien DESBRIÈRES <aurelien@replicant.io>
pkgname=xfwm4-titleless
pkgver=4.10.1
pkgrel=1.1
pkgdesc="Xfce window manager - patched with option to hide titlebar when maximized"
arch=('i686' 'x86_64' 'mips64el')
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
sed -i 's/_conflict_dialog (/_conflict_dialog (GTK_WINDOW (dialog),/g' settings-dialogs/xfwm4-settings.c
./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
}
sha256sums=('380c44fba6eb779e34be0fe94f3726cfa131803014d6073c45aec8a1257fa740'
'20f9b18f7e2af3566a81adb58a1675ce4c193c392a594e32243f9c00472dbd0f')
|