summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorcameel2018-12-29 22:05:15 +0100
committercameel2018-12-29 22:05:15 +0100
commitba9b73c952e4fcaf7a69e01903de8bf79fe501fc (patch)
tree53c3f009b7f380d94d88642ee1e9d4b570fc2ba0 /PKGBUILD
downloadaur-ba9b73c952e4fcaf7a69e01903de8bf79fe501fc.tar.gz
PKGBUILD for version 0.1.1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c45a4ec489a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Kamil ƚliwak <cameel2@gmail.com>
+
+pkgname=plasma5-applets-audio-device-switcher
+pkgver=0.1.1
+pkgrel=1
+pkgdesc="KDE Plasma 5 widget to change the default audio output device/sink"
+arch=('any')
+url="https://github.com/akrutzler/plasma-audio-device-switcher"
+license=('GPL2')
+depends=("plasma-workspace")
+makedepends=("cmake")
+source=(https://github.com/akrutzler/plasma-audio-device-switcher/archive/$pkgver.tar.gz)
+sha256sums=('f42a04afbea630c712a95fd47065ce39ca535ddd0a63d5e92df4dc2e96b0cbb7')
+
+prepare() {
+ mkdir --parents build/
+}
+
+build() {
+ cd build/
+
+ export QT_SELECT=5
+ cmake "../plasma-audio-device-switcher-${pkgver}" -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
+ make
+}
+
+package() {
+ cd build/
+
+ make install DESTDIR="$pkgdir/"
+}