summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO16
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD29
3 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3a0ef4be728
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = kdeplasma-applets-miniplayer
+ pkgdesc = A plasmoid for playing multimedia.
+ pkgver = 2.5
+ pkgrel = 1
+ url = http://www.kde-look.org/content/show.php/Mini+Player?content=95501
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = cmake
+ makedepends = automoc4
+ depends = kdelibs
+ source = http://www.kde-look.org/CONTENT/content-files/95501-miniplayer-2.5.tar.bz2
+ sha1sums = f4bdb3ae725214d248b6965ecb8f1cb2bbd2bd00
+
+pkgname = kdeplasma-applets-miniplayer
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..05c6d4d4c97
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*
+!.gitignore
+!.SRCINFO
+!PKGBUILD
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..36efa8f26cc
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>
+
+pkgname=kdeplasma-applets-miniplayer
+pkgver=2.5
+pkgrel=1
+pkgdesc="A plasmoid for playing multimedia."
+arch=('i686' 'x86_64')
+url="http://www.kde-look.org/content/show.php/Mini+Player?content=95501"
+license=('GPL')
+depends=('kdelibs')
+makedepends=('cmake' 'automoc4')
+source=("http://www.kde-look.org/CONTENT/content-files/95501-miniplayer-${pkgver}.tar.bz2")
+sha1sums=('f4bdb3ae725214d248b6965ecb8f1cb2bbd2bd00')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake "../miniplayer-${pkgver}" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+ make
+}
+
+package() {
+ make -C build DESTDIR="${pkgdir}" install
+}