summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 02217cbeb77af7d9dad3f524ba1c2481295952b9 (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
# Maintainer: mintsuki <mintsuki@protonmail.com>

pkgname=xfwm4-gaps
pkgver=4.20.0
pkgrel=1
pkgdesc="Xfce's window manager - now with extra gaps"
arch=('x86_64')
url="https://docs.xfce.org/xfce/xfwm4/start"
license=('GPL-2.0-or-later')
groups=('xfce4')
depends=('libxfce4ui' 'xfconf' 'libwnck3' 'libepoxy' 'libxpresent'
         'hicolor-icon-theme')
makedepends=('git' 'intltool' 'xfce4-dev-tools')
provides=('xfwm4')
conflicts=('xfwm4')
source=("git+https://gitlab.xfce.org/xfce/xfwm4.git#tag=xfwm4-$pkgver"
        gaps.patch)
sha256sums=('68691593f06659f1ba1a0363be161b2cd50a84016612394c909bce1485a75cff'
            SKIP)

prepare() {
  cd xfwm4
  patch -Np1 -i ../gaps.patch
  NOCONFIGURE=1 ./autogen.sh
}

build() {
  cd xfwm4
  ./configure \
    --prefix=/usr \
    --sysconfdir=/etc \
    --localstatedir=/var \
    --enable-startup-notification \
    --enable-randr \
    --enable-compositor \
    --enable-xsync \
    --disable-debug \
    --enable-maintainer-mode
  make
}

package() {
  cd xfwm4
  make DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et: