summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Hasler2017-11-19 12:16:08 +0100
committerMarcel Hasler2017-11-19 12:16:08 +0100
commit605f4a227548c81f5d00525bcf3423b34f805df6 (patch)
treea9b21b2628301c2ae191a1a4c20073dd93aceb28
downloadaur-605f4a227548c81f5d00525bcf3423b34f805df6.tar.gz
Initial commit for version 0.4.
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD37
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7d18c19f62c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = plasma5-applets-mpdnowplaying
+ pkgdesc = MPD plasmoid for Plasma 5.
+ pkgver = 0.4
+ pkgrel = 1
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = extra-cmake-modules
+ depends = plasma-framework
+ provides = plasma5-applets
+ conflicts = plasma5-applets
+ source = https://dl.opendesktop.org/api/files/download/id/1511089109/mpdnowplaying-0.4.tar.bz2
+ md5sums = 4988eaac0ebceba173b747f1beb736ca
+
+pkgname = plasma5-applets-mpdnowplaying
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..88b9b726062
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+pkgname=plasma5-applets-mpdnowplaying
+_pkgname=mpdnowplaying
+pkgver=0.4
+pkgrel=1
+pkgdesc="MPD plasmoid for Plasma 5."
+arch=('i686' 'x86_64')
+url=
+license=('GPL')
+depends=('plasma-framework')
+makedepends=('extra-cmake-modules')
+conflicts=("${pkgname%-*}")
+provides=("${pkgname%-*}")
+source=(https://dl.opendesktop.org/api/files/download/id/1511089109/${_pkgname}-${pkgver}.tar.bz2)
+md5sums=('4988eaac0ebceba173b747f1beb736ca')
+
+build() {
+ cd "${_pkgname}"
+
+ if [[ -d build ]]; then
+ rm -rf build
+ fi
+
+ mkdir build && cd build
+
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DLIB_INSTALL_DIR=lib \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+
+ make
+}
+
+package() {
+ cd "${_pkgname}"/build
+ make install DESTDIR="${pkgdir}"
+}