summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBogdan Sinitsyn2017-06-19 14:15:13 +0300
committerBogdan Sinitsyn2017-06-19 14:15:13 +0300
commit9dce1851c4f71c62cf6792cf04b2a904ae7edc3f (patch)
tree90a5770aa3dcab4da636c0ef813deb896a8c4388
downloadaur-9dce1851c4f71c62cf6792cf04b2a904ae7edc3f.tar.gz
Initial commit
-rw-r--r--.SRCINFO23
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD42
3 files changed, 69 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..dab4bd53c15
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+# Generated by mksrcinfo v8
+# Mon Jun 19 11:15:01 UTC 2017
+pkgbase = plasma5-applets-playbar2
+ pkgdesc = Applet that shows now playing music
+ pkgver = 2.5
+ pkgrel = 1
+ url = https://github.com/audoban/PlayBar2/
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ depends = plasma-framework
+ depends = plasma-workspace
+ depends = kdeclarative
+ depends = kglobalaccel
+ depends = kconfigwidgets
+ depends = kxmlgui
+ depends = kwindowsystem
+ conflicts = kdeplasma-applets-playbar2
+ source = https://github.com/audoban/PlayBar2/archive/v2.5.tar.gz
+ md5sums = SKIP
+
+pkgname = plasma5-applets-playbar2
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..018a3de0814
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*
+!PKGBUILD
+!.SRCINFO
+!.gitignore
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3dc44b3d07e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,42 @@
+# Maintainer: Bogdan Sinitsyn <bogdan.sinitsyn@gmail.com>
+_github_pkgname=PlayBar2
+pkgname=plasma5-applets-playbar2
+pkgver=2.5
+pkgrel=1
+pkgdesc="Applet that shows now playing music"
+arch=('i686' 'x86_64')
+url="https://github.com/audoban/PlayBar2/"
+license=('GPL3')
+depends=(
+ plasma-framework
+ plasma-workspace
+ kdeclarative
+ kglobalaccel
+ kconfigwidgets
+ kxmlgui
+ kwindowsystem
+)
+conflicts=(
+ kdeplasma-applets-playbar2
+)
+
+source=("https://github.com/audoban/$_github_pkgname/archive/v${pkgver}.tar.gz")
+md5sums=('SKIP')
+
+
+build() {
+ cd "$srcdir/$_github_pkgname-$pkgver"
+
+ mkdir -p build && cd build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
+ make
+}
+
+package() {
+ cd "$srcdir/$_github_pkgname-$pkgver"
+
+ cd build
+ make DESTDIR="$pkgdir/" install
+}
+
+# vim:set ts=2 sw=2 et: