summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2018-06-04 16:03:36 -0400
committerDavid P <megver83@parabola.nu>2018-06-04 16:03:36 -0400
commit18f175845168803c8cf435dffaed544226523876 (patch)
tree1f636094ba520c5b66bea63a80b733f1459e6123
parent91567b9934309723f8fa528f601f2b85c0098349 (diff)
downloadabslibre-18f175845168803c8cf435dffaed544226523876.tar.gz
abslibre-18f175845168803c8cf435dffaed544226523876.tar.bz2
abslibre-18f175845168803c8cf435dffaed544226523876.zip
addpkg: pcr/plasma-applet-active-window-control
Signed-off-by: David P <megver83@parabola.nu>
-rw-r--r--pcr/plasma-applet-active-window-control/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/pcr/plasma-applet-active-window-control/PKGBUILD b/pcr/plasma-applet-active-window-control/PKGBUILD
new file mode 100644
index 000000000..6473d9320
--- /dev/null
+++ b/pcr/plasma-applet-active-window-control/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: David P. <megver83@parabola.nu>
+
+pkgname=plasma-applet-active-window-control
+pkgver=1.7.3
+pkgrel=1
+pkgdesc="Plasmoid for Plasma 5. Allowes advanced control of active window."
+arch=( 'armv7h' 'i686' 'x86_64')
+url="https://phabricator.kde.org/source/$pkgname"
+license=('GPL')
+depends=('plasma-workspace' 'qt5-graphicaleffects')
+makedepends=( 'extra-cmake-modules')
+conflicts=('plasma-applet-active-window-control-git' 'plasma5-applet-active-window-control-git')
+source=("https://github.com/kotelnik/$pkgname/archive/v$pkgver.tar.gz")
+sha512sums=('ee6992aa9f1313b79d37b2f75823d3f68443d0de2a5fb428634089cad104652ab6101aa3667d5011da7fc57fbdd8ab168ab3d292190e93ae3412a8fad24bc9fe')
+
+build() {
+ cd "${pkgname}-${pkgver}"
+
+ mkdir -p build
+ cd build
+ rm -rf *
+
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"/build
+ make install DESTDIR="${pkgdir}"
+}