blob: 5989014f44ff25c3e5f7bdaca40694e282e661bf (
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
50
51
52
53
54
55
|
# Maintainer: Hugo Osvaldo Barrera <hugo@barrera.io>
pkgname=caffeine-ng
pkgver=4.3.2
pkgrel=2
pkgdesc="Status bar application able to temporarily inhibit the screensaver and sleep mode."
arch=(any)
url="https://codeberg.org/WhyNotHugo/caffeine-ng"
license=("GPL-3.0-or-later")
depends=(
python-gobject
python-xdg
python-dbus
python-click
python-ewmh
gtk3
libnotify
python-setproctitle
python-wheel
python-pulsectl
libindicator-gtk3
libayatana-appindicator
)
optdepends=(
# "libappindicator-gtk3: AppIndicator support (eg: Plasma, Unity)."
"xfconf: Support for Xfce presentation mode."
)
makedepends=(
git
meson
scdoc
)
conflicts=(caffeine caffeine-bzr caffeine-oneclick caffeine-systray)
provides=(caffeine caffeine-bzr caffeine-oneclick caffeine-systray)
replaces=(caffeine-oneclick caffeine-systray)
#source=("https://codeberg.org/WhyNotHugo/caffeine-ng/releases/download/v${pkgver}/caffeine-ng-v${pkgver}.tar.gz")
# As per AUR comment from upstream author, tagged versions can be considered "releases"
source=("https://codeberg.org/WhyNotHugo/${pkgname}/archive/v${pkgver}.tar.gz")
sha512sums=('96e9c65d1e9094ddc8f4fe59880280b0a3860b829d473e15a05fba9a3406bb1a1aaac55914ac7703064e15fc57a0e149c0217352512e9162af69a66d9149e8db')
build() {
cd "$srcdir/caffeine-ng"
arch-meson . build
meson compile -C build
}
check() {
cd "$srcdir/caffeine-ng"
meson test --no-rebuild --print-errorlogs -C build
}
package() {
cd "$srcdir/caffeine-ng"
DESTDIR="$pkgdir" meson install --no-rebuild -C build
}
|