summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 27e6644c3670b49bed9c27676d09b67d2d5c604c (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
49
# Maintainer: <mumei6102@gmail.com>
# Original maintainer: Evangelos Foutras <foutrelis@archlinux.org>
# Original maintainer: Robin Candau <antiz@archlinux.org>
# Contributor: tobias <tobias funnychar archlinux.org>

_pkgname=xfdesktop
pkgname=$_pkgname-z166
pkgver=4.20.1
pkgrel=1
pkgdesc="Xfce's desktop manager with icon placement modification."
arch=('x86_64')
url="https://docs.xfce.org/xfce/xfdesktop/start"
license=('GPL-2.0-or-later')
groups=('xfce4')
provides=('xfdesktop')
conflicts=('xfdesktop')
depends=('libxfce4ui' 'libxfce4windowing' 'libwnck3' 'libyaml' 'gtk-layer-shell' 'exo' 'thunar' 'garcon' 'hicolor-icon-theme')
makedepends=('git' 'glib2-devel' 'xfce4-dev-tools' 'patch')
source=("git+https://gitlab.xfce.org/xfce/xfdesktop.git#tag=$_pkgname-$pkgver"
        "xfdesktop-no-scramble-v2.diff")
sha256sums=('f19dca4adf0c82975b3c8ae58e8745e8d07b0328c603413ebf199e1e0ad37b99'
            'bfee6b13b5ead0fb2b4d166bf1b2553ee0d3fd97cfbed899ab39dfa2bf9214a3')

prepare() {
  cd $_pkgname
  patch -p1 < ../xfdesktop-no-scramble-v2.diff
  NOCONFIGURE=1 ./autogen.sh
}

build() {
  cd $_pkgname
  ./configure \
    --prefix=/usr \
    --sysconfdir=/etc \
    --enable-thunarx \
    --enable-x11 \
    --enable-wayland \
    --enable-notifications \
    --disable-debug \
    --enable-maintainer-mode
  make
}

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

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