aboutsummaryrefslogtreecommitdiff
path: root/xfce4-session/Pkgfile
blob: b9bc8d82c4a37c7d042bf71780fe4b4d937c0fcf (plain) (blame)
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
# Description: Xfce's configuration system
# URL: https://www.xfce.org
# Maintainer: Jay Lanagan, j at lngn dot net
# Depends on: colord exo garcon gnome-icon-theme libcanberra libnotify libxfce4windowing libxklavier

name=xfce4-session
version=4.20.4
release=1
source=(https://archive.xfce.org/src/xfce/$name/${version:0:4}/$name-$version.tar.bz2)

build() {

  cd $name-$version

    ./configure \
      --prefix=/usr \
      --libexecdir=/usr/lib/$name \
      --sysconfdir=/etc \
      --disable-gtk-doc \
      --enable-upower-glib \
      --enable-libnotify \
      --enable-xcursor \
      --enable-libxklavier \
      --enable-pluggable-dialogs \
      --enable-sound-settings \
      --enable-colord \
      --enable-xrandr \
      --enable-gio-unix \
      --x-libraries=/usr/share/X11

    make
    make DESTDIR=$PKG install

    find $PKG/usr/lib/* -name "*.la" -type f|xargs rm -f
    rm -r $PKG/usr/share/locale

}