Date: Friday, October 15, 2021 @ 14:48:06 Author: arojas Revision: 1030269
archrelease: copy trunk to community-testing-x86_64 Added: plasma5-applets-window-buttons/repos/community-testing-x86_64/ plasma5-applets-window-buttons/repos/community-testing-x86_64/PKGBUILD (from rev 1030268, plasma5-applets-window-buttons/trunk/PKGBUILD) ----------+ PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) Copied: plasma5-applets-window-buttons/repos/community-testing-x86_64/PKGBUILD (from rev 1030268, plasma5-applets-window-buttons/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2021-10-15 14:48:06 UTC (rev 1030269) @@ -0,0 +1,30 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> + +pkgname=plasma5-applets-window-buttons +pkgver=0.9.0 +pkgrel=2 +pkgdesc='Plasma 5 applet in order to show window buttons in your panels' +arch=(x86_64) +url='https://github.com/psifidotos/applet-window-buttons' +license=(GPL) +depends=(plasma-workspace) +makedepends=(extra-cmake-modules) +conflicts=(libappletdecoration) +replaces=(libappletdecoration) +source=(https://github.com/psifidotos/applet-window-buttons/archive/$pkgver/$pkgname-$pkgver.tar.gz + https://github.com/psifidotos/applet-window-buttons/commit/6f881c25.patch) +sha256sums=('053201441e2cc7c0589c920028b985752ad9a87dc0f7fb35070cf44c9fcfbab7' + '1db8b6f262f6f6b45c239e11698bfbdfe079b408710a16cc7902c01cf4b46b25') + +prepare() { + patch -d applet-window-buttons-$pkgver -p1 < 6f881c25.patch # Plasma 5.23 compatibility +} + +build() { + cmake -B build -S applet-window-buttons-$pkgver + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build +}