summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5e5bd294859e1bb2cb1ffee6481fccf8f73fa0ea (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
# Maintainer: icasdri <icasdri@gmail.com>
# Contributor: Evangelos Foutras <evangelos@foutrelis.com>
# Contributor: tobias <tobias funnychar archlinux.org>

_pkgname=xfce4-notifyd-layer-shell
pkgname=xfce4-notifyd-layer-shell-git
pkgver=0.4.4.r63.gade6a8e
pkgrel=2
pkgdesc="xfce4-notifyd (Xfce's notification daemon) with Wayland layer shell support"
arch=('x86_64')
url='https://github.com/icasdri/xfce4-notifyd-layer-shell'
license=('GPL2')
conflicts=('xfce4-notifyd')
depends=('libxfce4ui' 'libnotify' 'hicolor-icon-theme' 'gtk-layer-shell')
makedepends=('xfce4-dev-tools' 'intltool' 'python' 'xfce4-panel')
provides=('notification-daemon')
source=('git+https://github.com/icasdri/xfce4-notifyd-layer-shell.git')
sha256sums=('SKIP')

pkgver() {
  cd "${srcdir}/${_pkgname}"
  git describe --long --tags | cut -c 15- | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd "${srcdir}/${_pkgname}"

  ./autogen.sh \
    --prefix=/usr \
    --disable-static \
    --disable-debug
  make
}

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