summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 671eb7787c7bcda5ce326ec5ab723eef8383b637 (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
# Maintainer: Robert Tari <robert at tari dot in>

pkgname="ayatana-indicator-session"
pkgver="24.5.0"
pkgrel="1"
pkgdesc="Ayatana Indicator showing session management, status and user switching"
arch=("i686" "x86_64" "pentium4")
url="https://github.com/AyatanaIndicators/ayatana-indicator-session"
license=("GPL-2.0-or-later" "GPL-3.0-or-later")
makedepends=("cmake-extras" "intltool")
depends=("glibc" "glib2" "systemd" "dconf" "libayatana-common" "hicolor-icon-theme" "librda" "glib2-devel")
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/AyatanaIndicators/${pkgname}/archive/${pkgver}.tar.gz")
md5sums=("65adb16e5f0fd8798a9565a00a701f50")

build()
{
    cd ${pkgname}-${pkgver}
    cmake -S . -B build -DCMAKE_INSTALL_LIBEXECDIR='lib'
    cmake --build build
}

package()
{
    cd ${pkgname}-${pkgver}
    DESTDIR="${pkgdir}" cmake --install build
}