[arch-commits] Commit in plasma5-applets-window-buttons/repos/community-x86_64 (2 files)
Antonio Rojas
arojas at archlinux.org
Tue May 11 17:08:35 UTC 2021
Date: Tuesday, May 11, 2021 @ 17:08:35
Author: arojas
Revision: 930277
archrelease: copy trunk to community-x86_64
Added:
plasma5-applets-window-buttons/repos/community-x86_64/PKGBUILD
(from rev 930276, plasma5-applets-window-buttons/trunk/PKGBUILD)
Deleted:
plasma5-applets-window-buttons/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 61 ++++++++++++++++++++++++-------------------------------------
1 file changed, 24 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-11 17:08:23 UTC (rev 930276)
+++ PKGBUILD 2021-05-11 17:08:35 UTC (rev 930277)
@@ -1,37 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgbase=plasma5-applets-window-buttons
-pkgname=(libappletdecoration plasma5-applets-window-buttons)
-pkgver=0.8.1
-pkgrel=3
-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)
-makedepends=(extra-cmake-modules kdecoration plasma-framework)
-source=($pkgname-$pkgver.tar.gz::"https://github.com/psifidotos/applet-window-buttons/archive/$pkgver.tar.gz"
- window-buttons-kdecoration-5.21.patch::"https://github.com/psifidotos/applet-window-buttons/commit/dc5ed862.patch")
-sha256sums=('9f7afca910072d3e6b23e9aad1bd0905965b2022e0498b43173d7a712cca8986'
- '56ad08f1fcb612bf3aade5047cc346d4560e422946ffeeed962a48c749aa2e73')
-
-prepare() {
- patch -d applet-window-buttons-$pkgver -p1 < window-buttons-kdecoration-5.21.patch # Fix build with kdecoration 5.21
-}
-
-build() {
- cmake -B build -S applet-window-buttons-$pkgver
- cmake --build build
-}
-
-package_libappletdecoration() {
- pkgdesc="Library for applet window decorations"
- depends=(kdecoration plasma-framework)
- DESTDIR="$pkgdir" cmake --install build/libappletdecoration
-}
-
-package_plasma5-applets-window-buttons() {
- depends=(libappletdecoration plasma-workspace)
- DESTDIR="$pkgdir" cmake --install build
- rm -r "$pkgdir"/usr/lib # Provided by libappletdecoration
-}
-
Copied: plasma5-applets-window-buttons/repos/community-x86_64/PKGBUILD (from rev 930276, plasma5-applets-window-buttons/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-11 17:08:35 UTC (rev 930277)
@@ -0,0 +1,24 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=plasma5-applets-window-buttons
+pkgver=0.9.0
+pkgrel=1
+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)
+sha256sums=('053201441e2cc7c0589c920028b985752ad9a87dc0f7fb35070cf44c9fcfbab7')
+
+build() {
+ cmake -B build -S applet-window-buttons-$pkgver
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+}
More information about the arch-commits
mailing list