aboutsummaryrefslogtreecommitdiff
path: root/xfce4-notifyd/Pkgfile
blob: dce9961ed9a702527a7696f8400df043d447d939 (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
# Description: Themable notification daemon with transparency effects
# URL: https://docs.xfce.org/apps/notifyd/start
# Maintainer: Jay Lanagan, j at lngn dot net
# Depends on: libcanberra libnotify xfce4-panel

name=xfce4-notifyd
version=0.9.7
release=1
source=(https://archive.xfce.org/src/apps/$name/${version%.*}/$name-$version.tar.bz2)

build () {

  meson setup $name-$version build \
    --buildtype=release \
    --infodir=/usr/info \
    --libdir=/usr/lib \
    --localstatedir=/var \
    --prefix=/usr \
    --sysconfdir=/etc \
    -Dtests=false \
    -Dstrip=true \
    -Db_lto=true \
    -Db_pie=true

  meson compile -C build
  DESTDIR=$PKG meson install -C build

  rm -fr $PKG/usr/share/{locale,doc}
  rm -fr $PKG/usr/lib/systemd

}